Changeset 9869 in orxonox.OLD for trunk/src/lib/shell/shell_command_class.h
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command_class.h
r8362 r9869 25 25 class ShellCommandClass : public BaseObject 26 26 { 27 ObjectListDeclaration(ShellCommandClass); 28 27 29 friend class ShellCommand; 28 30 public: 29 31 /** @returns the CommandClassList */ 30 static const CmdClassList& getCommandClassList() { return *ShellCommandClass:: commandClassList; };32 static const CmdClassList& getCommandClassList() { return *ShellCommandClass::_commandClassList; }; 31 33 32 34 static bool getCommandListOfClass(const std::string& className, std::list<std::string>& stringList); … … 51 53 52 54 private: 53 const std::string className; //!< The Name of the Class. This should match the ClassName of the Commands Class. 54 ClassID classID; //!< The classID of this Class 55 CmdList commandList; //!< A list of Commands from this Class 55 const std::string _className; //!< The Name of the Class. This should match the ClassName of the Commands Class. 56 CmdList _commandList; //!< A list of Commands from this Class 56 57 57 static CmdClassList* commandClassList; //!< A list of Classes58 static CmdClassList* _commandClassList; //!< A list of Classes 58 59 }; 59 60 }
Note: See TracChangeset
for help on using the changeset viewer.