Changeset 5197 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Sep 18, 2005, 2:57:20 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r5196 r5197 51 51 52 52 public: 53 /** @returns the CommandClassList */ 53 54 static const tList<ShellCommandClass>* getCommandClassList() { return ShellCommandClass::commandClassList; }; 54 55 static bool getCommandListOfClass(const char* className, tList<const char>* stringList); … … 317 318 }; 318 319 320 //! A Class, that handles aliases. 319 321 class ShellCommandAlias 320 322 { 321 323 friend class ShellCommandBase; 322 324 public: 325 /** @returns the Name of the Alias. */ 323 326 const char* getName() const { return this->aliasName; }; 327 /** @returns the Command, this Alias is asociated with */ 324 328 ShellCommandBase* getCommand() const { return this->command; }; 325 329 326 330 private: 331 /** @param aliasName the name of the Alias @param command the Command, to associate this alias with */ 327 332 ShellCommandAlias(const char* aliasName, ShellCommandBase* command) { this->aliasName = aliasName; this->command = command; }; 328 333 329 334 private: 330 const char* aliasName; 331 ShellCommandBase* command; 335 const char* aliasName; //!< the name of the Alias 336 ShellCommandBase* command; //!< a pointer to the command, this alias executes. 332 337 }; 333 338 334 335 339 #endif /* _SHELL_COMMAND_H */
Note: See TracChangeset
for help on using the changeset viewer.