9 #include <gtkmm/button.h> 10 #include <gtkmm/filechooserdialog.h> 35 virtual void changeJimulatorState(
const JimulatorState newState)
override;
36 virtual const bool handleKeyPress(
const GdkEventKey*
const e)
override;
61 const std::string getAbsolutePathToSelectedFile()
const;
62 void setAbsolutePathToSelectedFile(
const std::string val);
66 void onCompileLoadClick()
const;
67 const std::string makeKmdPath(
const std::string absolutePath)
const;
68 void handleResultFromFileBrowser(
const int result,
69 const Gtk::FileChooserDialog*
const dialog);
CompileLoadInnerState
An enum indicating the state of the specific compile and load section of the GUI - specifically...
A file containing the declaration of the class Model and the enumerable type JimulatorState.
JimulatorState
Describe the 5 states of Jimulator.
The superclass for all other Model classes. Uses a pure virtual function, so is abastract. Keeps KoMo2Model as a friend so it alone can call setJimulatorState. This class provides basic data that are needed by all other.
CompileLoadInnerState innerState
Stores the state of the compile and load section of the GUI.
The logical model of the entire application. All other models should be member variables of this mode...
the class definition of the compileLoadModel class, a data model which encapsulates any statefullness...
std::string absolutePathToSelectedFile
State - stores the value of the absolute file path to a .s file, as chosen by the file browser compon...
CompileLoadView *const view
A pointer to the view that this model represents.
This class represents the visual aspects that make up the compile & load section of the KoMo2 GUI...