Changeset 5196 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Sep 18, 2005, 2:39:39 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r5195 r5196 85 85 86 86 /** @returns the CommandList of the Shell */ 87 88 87 static void unregisterCommand(const char* commandName, const char* className); 89 88 … … 114 113 private: 115 114 ShellCommandClass* shellClass; //!< A Pointer to the Shell-Class this Command belongs to. 115 ShellCommandAlias* alias; //!< An Alias for the Class. 116 116 117 117 const char* description; //!< A description for this commnand. (initially NULL). Assigned with (create)->describe("blablabla"); … … 319 319 class ShellCommandAlias 320 320 { 321 friend class ShellCommandBase; 321 322 public: 322 ShellCommandAlias(const char* aliasName, ShellCommandBase* command) { this->aliasName = aliasName; this->command = command; };323 324 323 const char* getName() const { return this->aliasName; }; 325 324 ShellCommandBase* getCommand() const { return this->command; }; 325 326 private: 327 ShellCommandAlias(const char* aliasName, ShellCommandBase* command) { this->aliasName = aliasName; this->command = command; }; 328 326 329 private: 327 330 const char* aliasName;
Note: See TracChangeset
for help on using the changeset viewer.