Changeset 5779 in orxonox.OLD for trunk/src/lib/shell/shell_command_class.h
- Timestamp:
- Nov 26, 2005, 2:20:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command_class.h
r5639 r5779 8 8 9 9 #include "base_object.h" 10 #include <list> 10 11 11 12 … … 26 27 public: 27 28 /** @returns the CommandClassList */ 28 static const tList<ShellCommandClass>* getCommandClassList() { return ShellCommandClass::commandClassList; };29 static bool getCommandListOfClass(const char* className, tList<const char>* stringList);30 static bool getCommandListOfAlias( tList<const char>* aliasList);29 static const std::list<ShellCommandClass*>* getCommandClassList() { return ShellCommandClass::commandClassList; }; 30 static bool getCommandListOfClass(const char* className, std::list<const char*>* stringList); 31 static bool getCommandListOfAlias(std::list<const char*>* aliasList); 31 32 32 33 static ShellCommandClass* getCommandClass(const char* className); … … 43 44 44 45 private: 45 const char* className; //!< The Name of the Class. This should match the ClassName of the Commands Class.46 long classID; //!< The classID of this Class47 tList<ShellCommand>*commandList; //!< A list of Commands from this Class48 static tList<ShellCommandClass>*commandClassList; //!< A list of Classes49 static tList<ShellCommandAlias>*aliasList; //!< An Alias to A Command. (only for classes with one Instance)46 const char* className; //!< The Name of the Class. This should match the ClassName of the Commands Class. 47 long classID; //!< The classID of this Class 48 std::list<ShellCommand*> commandList; //!< A list of Commands from this Class 49 static std::list<ShellCommandClass*>* commandClassList; //!< A list of Classes 50 static std::list<ShellCommandAlias*>* aliasList; //!< An Alias to A Command. (only for classes with one Instance) 50 51 }; 51 52
Note: See TracChangeset
for help on using the changeset viewer.