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 |
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 62 of file session_types.h.
|
default |
|
explicit |
Definition at line 38 of file session_types.cc.
References feature_flags, yaze::Rom::filename(), filepath, and rom.
std::string yaze::editor::RomSession::GetDisplayName | ( | ) | const |
Definition at line 44 of file session_types.cc.
References custom_name, rom, and yaze::Rom::title().
Rom yaze::editor::RomSession::rom |
Definition at line 63 of file session_types.h.
Referenced by yaze::editor::EditorManager::CreateNewSession(), yaze::editor::EditorManager::DuplicateCurrentSession(), GetDisplayName(), and RomSession().
EditorSet yaze::editor::RomSession::editors |
Definition at line 64 of file session_types.h.
Referenced by yaze::editor::EditorManager::CreateNewSession(), and yaze::editor::EditorManager::DuplicateCurrentSession().
std::string yaze::editor::RomSession::custom_name |
Definition at line 65 of file session_types.h.
Referenced by GetDisplayName().
std::string yaze::editor::RomSession::filepath |
Definition at line 66 of file session_types.h.
Referenced by yaze::editor::SessionCoordinator::CreateSessionFromRom(), and RomSession().
core::FeatureFlags::Flags yaze::editor::RomSession::feature_flags |
Definition at line 67 of file session_types.h.
Referenced by yaze::editor::EditorManager::OpenProject(), yaze::editor::EditorManager::OpenRomOrProject(), and RomSession().