Interface for editor selection and navigation. More...
#include <editor_manager_interfaces.h>

Public Member Functions | |
| virtual | ~IEditorSwitcher ()=default |
| virtual Rom * | GetCurrentRom () const =0 |
| virtual void | SwitchToEditor (EditorType type, bool force_visible=false, bool from_dialog=false)=0 |
| virtual void | DismissEditorSelection ()=0 |
Interface for editor selection and navigation.
DashboardPanel needs to check ROM state, switch editors, and dismiss the selection dialog. This interface decouples it from EditorManager.
Definition at line 33 of file editor_manager_interfaces.h.
|
virtualdefault |
|
pure virtual |
Implemented in yaze::editor::EditorManager.
Referenced by yaze::editor::DashboardPanel::Draw().
|
pure virtual |
Implemented in yaze::editor::EditorManager.
Referenced by yaze::editor::DashboardPanel::DrawEditorPanel(), and yaze::editor::DashboardPanel::DrawRecentEditors().
|
pure virtual |
Implemented in yaze::editor::EditorManager.
Referenced by yaze::editor::DashboardPanel::DrawEditorPanel(), and yaze::editor::DashboardPanel::DrawRecentEditors().