Changeset 7281 in orxonox.OLD for branches/shared_lib/src/lib/shell
- Timestamp:
- Apr 10, 2006, 6:09:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/shared_lib/src/lib/shell/shell_command.h
r7225 r7281 15 15 16 16 17 18 17 // FORWARD DECLARATION 18 class ShellCommand; 19 19 class ShellCommandClass; 20 20 class ShellCommandAlias; … … 61 61 friend class ShellCommandClass; 62 62 public: 63 static bool execute (const std::string& executionString); 63 ShellCommand(const std::string& commandName, const std::string& className, const Executor& executor); 64 ~ShellCommand(); 65 64 66 65 67 ShellCommand* describe(const std::string& description); … … 68 70 const MultiType& value2 = MT_NULL, const MultiType& value3 = MT_NULL, 69 71 const MultiType& value4 = MT_NULL); 72 73 static bool execute (const std::string& executionString); 70 74 71 75 static ShellCommand* registerCommand(const std::string& commandName, const std::string& className, const Executor& executor); … … 76 80 77 81 protected: 78 ShellCommand(const std::string& commandName, const std::string& className, const Executor& executor);79 ~ShellCommand();80 81 82 static bool isRegistered(const std::string& commandName, const std::string& className); 82 83 static const char* paramToString(long parameter);
Note: See TracChangeset
for help on using the changeset viewer.