Changeset 7388 in orxonox.OLD for trunk/src/lib/shell/shell_command_class.h
- Timestamp:
- Apr 26, 2006, 11:19:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command_class.h
r7386 r7388 8 8 9 9 #include "base_object.h" 10 #include < list>10 #include <vector> 11 11 12 12 … … 41 41 static void initCommandClassList(); 42 42 43 void registerCommand(ShellCommand* command); 44 void unregisterCommand(ShellCommand* command); 45 43 46 private: 44 47 const std::string className; //!< The Name of the Class. This should match the ClassName of the Commands Class. 45 48 long classID; //!< The classID of this Class 46 std:: list<ShellCommand*>commandList; //!< A list of Commands from this Class49 std::vector<ShellCommand*> commandList; //!< A list of Commands from this Class 47 50 static std::list<ShellCommandClass*>* commandClassList; //!< A list of Classes 48 static std::list<ShellCommandAlias*>* aliasList; //!< A n Alias to A Command. (only for classes with one Instance)51 static std::list<ShellCommandAlias*>* aliasList; //!< A list of Aliases to A Commands. 49 52 }; 50 53
Note: See TracChangeset
for help on using the changeset viewer.