Changeset 5171 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Sep 7, 2005, 1:08:21 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r5170 r5171 45 45 static const tList<ShellCommandClass>* getCommandClassList() { return ShellCommandClass::commandClassList; }; 46 46 static ShellCommandClass* getCommandClass(const char* className); 47 static void unregisterAllCommands(); 47 48 48 49 private: … … 54 55 55 56 private: 56 const char* className;57 ClassID classID;58 tList<ShellCommandBase>* commandList;59 static tList<ShellCommandClass>* commandClassList;//!< A list of Classes57 const char* className; //!< The Name of the Class. This should match the ClassName of the Commands Class. 58 long classID; //!< The classID of this Class 59 tList<ShellCommandBase>* commandList; //!< A list of Commands from this Class 60 static tList<ShellCommandClass>* commandClassList; //!< A list of Classes 60 61 }; 61 62 … … 72 73 /** @returns the CommandList of the Shell */ 73 74 74 static void unregisterAllCommands();75 75 static void unregisterCommand(const char* commandName, const char* className); 76 76
Note: See TracChangeset
for help on using the changeset viewer.