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