51 virtual bool Execute(
GXemul& gxemul,
const vector<string>& arguments);
60 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
64 #endif // QUITCOMMAND_H
virtual string GetShortDescription() const
Returns a short (one-line) description of the command.
virtual bool Execute(GXemul &gxemul, const vector< string > &arguments)
Executes the command on a given GXemul instance.
A Command is a named function, executed by the CommandInterpreter.
virtual string GetLongDescription() const
Returns a long description/help message for the command.
static void RunUnitTests(int &nSucceeded, int &nFailures)
A Command which quits the GXemul application.
QuitCommand()
Constructs a QuitCommand.