Changeset 7394 in orxonox.OLD for trunk/src/lib/shell/shell_command_class.h
- Timestamp:
- Apr 27, 2006, 1:33:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command_class.h
r7389 r7394 24 24 public: 25 25 /** @returns the CommandClassList */ 26 static const std:: list<ShellCommandClass*>*getCommandClassList() { return ShellCommandClass::commandClassList; };26 static const std::vector<ShellCommandClass*>& getCommandClassList() { return ShellCommandClass::commandClassList; }; 27 27 28 28 static bool getCommandListOfClass(const std::string& className, std::list<std::string>& stringList); … … 38 38 39 39 static const ShellCommandClass* isRegistered(const std::string& className); 40 static void initCommandClassList();41 40 42 41 void registerCommand(ShellCommand* command); … … 47 46 long classID; //!< The classID of this Class 48 47 std::vector<ShellCommand*> commandList; //!< A list of Commands from this Class 49 static std::list<ShellCommandClass*>* commandClassList; //!< A list of Classes 48 49 static std::vector<ShellCommandClass*> commandClassList; //!< A list of Classes 50 50 }; 51 51
Note: See TracChangeset
for help on using the changeset viewer.