Changeset 7389 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Apr 26, 2006, 11:39:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r7388 r7389 101 101 /** @returns the Command, this Alias is asociated with */ 102 102 ShellCommand* getCommand() const { return this->command; }; 103 static bool getCommandListOfAlias(std::list<std::string>& stringList); 103 104 104 105 private: 105 106 /** @param aliasName the name of the Alias @param command the Command, to associate this alias with */ 106 ShellCommandAlias(const std::string& aliasName, ShellCommand* command) { this->aliasName = aliasName; this->command = command; };107 107 ShellCommandAlias(const std::string& aliasName, ShellCommand* command); 108 ~ShellCommandAlias(); 108 109 private: 109 110 std::string aliasName; //!< the name of the Alias 110 111 ShellCommand* command; //!< a pointer to the command, this alias executes. 112 113 static std::vector<ShellCommandAlias*> aliasList; //!< A list of Aliases to A Commands. 111 114 }; 112 115
Note: See TracChangeset
for help on using the changeset viewer.