165 virtual void FatalError(
const string& msg) = 0;
179 size_t cursorPosition) = 0;
~SetIndentationMessageHelper()
virtual void ShowDebugMessage(const string &msg)=0
Shows a debug message.
virtual void UpdateUI()=0
Updates various UI elements.
void SetIndentationMessage(const string &msg)
Sets an indentation message, which indents all debug output.
virtual void Initialize()=0
Initializes the UI.
virtual void ShowCommandMessage(const string &command)=0
Shows a command being executed.
Base class for reference countable objects.
A Component is a node in the configuration tree that makes up an emulation setup. ...
UI(GXemul *gxemul)
Constructs a User Interface.
SetIndentationMessageHelper(UI *ui, const string &msg)
virtual void FatalError(const string &msg)=0
Shows a fatal error message.
virtual int MainLoop()=0
Runs the UI's main loop.
virtual void Shutdown()=0
Shuts down the UI.
virtual void ShowStartupBanner()=0
Shows a startup banner.
virtual void InputLineDone()=0
Executed by the CommandInterpreter when a line has been completed (with a newline).
Base class for a User Interface.
virtual void RedisplayInputLine(const string &inputline, size_t cursorPosition)=0
Redisplays the interactive command input line.
string GetIndentationMessage() const
Gets the indentation message.