Changeset 5164 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Sep 5, 2005, 11:02:09 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r5163 r5164 23 23 24 24 #define SHELL_COMMAND(command, class, function) \ 25 ShellCommand <class>* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function)25 ShellCommandBase* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function) 26 26 27 27 … … 35 35 static bool execute (const char* executionString); 36 36 37 ShellCommandBase* describe(const char* description); 38 37 39 static const tList<ShellCommandBase>* getCommandList() { return ShellCommandBase::commandList; }; 38 40 … … 65 67 // long classID; //!< The ID of the Class associated to this Command 66 68 const char* className; //!< The Name of the Class associated to this Command 69 70 const char* description; 67 71 68 72 // STATIC MEMBERS
Note: See TracChangeset
for help on using the changeset viewer.