Changeset 5195 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Sep 18, 2005, 2:13:28 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r5190 r5195 52 52 public: 53 53 static const tList<ShellCommandClass>* getCommandClassList() { return ShellCommandClass::commandClassList; }; 54 static bool ShellCommandClass::getCommandListOfClass(const char* className, tList<const char>* stringList); 54 static bool getCommandListOfClass(const char* className, tList<const char>* stringList); 55 static bool getCommandListOfAlias(tList<const char>* aliasList); 55 56 56 57 static ShellCommandClass* getCommandClass(const char* className); … … 69 70 tList<ShellCommandBase>* commandList; //!< A list of Commands from this Class 70 71 static tList<ShellCommandClass>* commandClassList; //!< A list of Classes 71 static tList<ShellCommandAlias>* alias esList;//!< An Alias to A Command. (only for classes with one Instance)72 static tList<ShellCommandAlias>* aliasList; //!< An Alias to A Command. (only for classes with one Instance) 72 73 }; 73 74 … … 320 321 public: 321 322 ShellCommandAlias(const char* aliasName, ShellCommandBase* command) { this->aliasName = aliasName; this->command = command; }; 323 324 const char* getName() const { return this->aliasName; }; 325 ShellCommandBase* getCommand() const { return this->command; }; 322 326 private: 323 327 const char* aliasName;
Note: See TracChangeset
for help on using the changeset viewer.