yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::RomSession Struct Reference

Represents a single session, containing a ROM and its associated editors. More...

#include <session_types.h>

Collaboration diagram for yaze::editor::RomSession:

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
 

Detailed Description

Represents a single session, containing a ROM and its associated editors.

Definition at line 62 of file session_types.h.

Constructor & Destructor Documentation

◆ RomSession() [1/2]

yaze::editor::RomSession::RomSession ( )
default

◆ RomSession() [2/2]

yaze::editor::RomSession::RomSession ( Rom &&  r,
UserSettings user_settings = nullptr,
size_t  session_id = 0 
)
explicit

Definition at line 38 of file session_types.cc.

References feature_flags, yaze::Rom::filename(), filepath, and rom.

Here is the call graph for this function:

Member Function Documentation

◆ GetDisplayName()

std::string yaze::editor::RomSession::GetDisplayName ( ) const

Definition at line 44 of file session_types.cc.

References custom_name, rom, and yaze::Rom::title().

Here is the call graph for this function:

Member Data Documentation

◆ rom

◆ editors

EditorSet yaze::editor::RomSession::editors

◆ custom_name

std::string yaze::editor::RomSession::custom_name

Definition at line 65 of file session_types.h.

Referenced by GetDisplayName().

◆ filepath

std::string yaze::editor::RomSession::filepath

◆ feature_flags

core::FeatureFlags::Flags yaze::editor::RomSession::feature_flags

The documentation for this struct was generated from the following files: