- Timestamp:
- Aug 26, 2010, 2:06:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/command/CommandExecutor.h
r7216 r7221 55 55 56 56 static CommandEvaluation evaluate(const std::string& command); 57 static const CommandEvaluation& getLastEvaluation();58 57 59 58 private: … … 70 69 static unsigned int argumentsFinished(); 71 70 static unsigned int argumentsGiven(); 72 static bool enoughArgumentsGiven( ConsoleCommand* command);71 static bool enoughArgumentsGiven(_ConsoleCommand* command); 73 72 static const std::string& getArgument(unsigned int index); 74 73 static const std::string& getLastArgument(); … … 76 75 static void createListOfPossibleIdentifiers(const std::string& fragment); 77 76 static void createListOfPossibleFunctions(const std::string& fragment, Identifier* identifier = 0); 78 static void createListOfPossibleArguments(const std::string& fragment, ConsoleCommand* command, unsigned int param);77 static void createListOfPossibleArguments(const std::string& fragment, _ConsoleCommand* command, unsigned int param); 79 78 80 79 static Identifier* getPossibleIdentifier(const std::string& name); 81 static ConsoleCommand* getPossibleCommand(const std::string& name, Identifier* identifier = 0);82 static const std::string& getPossibleArgument(const std::string& name, ConsoleCommand* command, unsigned int param);80 static _ConsoleCommand* getPossibleCommand(const std::string& name, Identifier* identifier = 0); 81 static const std::string& getPossibleArgument(const std::string& name, _ConsoleCommand* command, unsigned int param); 83 82 84 static void createArgumentCompletionList( ConsoleCommand* command, unsigned int param);83 static void createArgumentCompletionList(_ConsoleCommand* command, unsigned int param); 85 84 static std::string getCommonBegin(const std::list<std::pair<const std::string*, const std::string*> >& list); 86 85 static std::string getCommonBegin(const ArgumentCompletionList& list);
Note: See TracChangeset
for help on using the changeset viewer.