Represents a single session, containing a ROM and its associated editors. More...
#include <session_types.h>

Public Member Functions | |
| RomSession ()=default | |
| RomSession (Rom &&r, UserSettings *user_settings=nullptr, size_t session_id=0) | |
| std::string | GetDisplayName () const |
Public Attributes | |
| Rom | rom |
| zelda3::GameData | game_data |
| EditorSet | editors |
| std::string | custom_name |
| std::string | filepath |
| core::FeatureFlags::Flags | feature_flags |
Represents a single session, containing a ROM and its associated editors.
Definition at line 79 of file session_types.h.
|
default |
|
explicit |
Definition at line 66 of file session_types.cc.
References feature_flags, yaze::Rom::filename(), filepath, and rom.

| std::string yaze::editor::RomSession::GetDisplayName | ( | ) | const |
Definition at line 74 of file session_types.cc.
References custom_name, rom, and yaze::Rom::title().

| Rom yaze::editor::RomSession::rom |
Definition at line 80 of file session_types.h.
Referenced by yaze::editor::EditorManager::ConfigureSession(), GetDisplayName(), yaze::editor::EditorManager::OnSessionRomLoaded(), yaze::editor::EditorManager::OnSessionSwitched(), and RomSession().
| zelda3::GameData yaze::editor::RomSession::game_data |
Definition at line 81 of file session_types.h.
| EditorSet yaze::editor::RomSession::editors |
Definition at line 82 of file session_types.h.
Referenced by yaze::editor::EditorManager::ConfigureSession(), and yaze::editor::EditorManager::OnSessionSwitched().
| std::string yaze::editor::RomSession::custom_name |
Definition at line 83 of file session_types.h.
Referenced by GetDisplayName().
| std::string yaze::editor::RomSession::filepath |
Definition at line 84 of file session_types.h.
Referenced by RomSession().
| core::FeatureFlags::Flags yaze::editor::RomSession::feature_flags |
Definition at line 85 of file session_types.h.
Referenced by yaze::editor::EditorManager::GetCurrentFeatureFlags(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::EditorManager::OpenRomOrProject(), and RomSession().