Changeset 7407 in orxonox.OLD for trunk/src/lib/shell/shell_command.h
- Timestamp:
- Apr 27, 2006, 8:42:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.h
r7403 r7407 10 10 11 11 #include "executor/executor.h" 12 #include <stdarg.h>12 #include "shell_completion_plugin.h" 13 13 14 14 #define SHELL_COMMAND_MAX_SIZE //!< The maximum size of a Shell Command 15 16 17 15 18 16 namespace OrxShell … … 21 19 class ShellCommandClass; 22 20 class ShellCommandAlias; 21 class CompletorPlugin; 23 22 24 23 /** … … 75 74 static bool exists(const std::string& commandName, const std::string& className); 76 75 76 unsigned int getParamCount() const { return this->executor->getParamCount(); } 77 const CompletorPlugin* const getCompletorPlugin(unsigned int i) const { return this->completors[i]; }; 78 77 79 static void debug(); 78 80 … … 88 90 89 91 std::string description; //!< A description for this commnand. (initially ""). Assigned with (create)->describe("blablabla"); 92 std::vector<CompletorPlugin*> completors; //!< Completors for the Parameters 90 93 Executor* executor; //!< The Executor, that really executes the Function. 91 94 };
Note: See TracChangeset
for help on using the changeset viewer.