Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 26, 2010, 2:06:16 AM (14 years ago)
Author:
landauf
Message:

adapted CommandExecutor and CommandEvaluation to make it compile again, but it doesn't run yet. ready for refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/command/CommandExecutor.h

    r7216 r7221  
    5555
    5656            static CommandEvaluation evaluate(const std::string& command);
    57             static const CommandEvaluation& getLastEvaluation();
    5857
    5958        private:
     
    7069            static unsigned int argumentsFinished();
    7170            static unsigned int argumentsGiven();
    72             static bool enoughArgumentsGiven(ConsoleCommand* command);
     71            static bool enoughArgumentsGiven(_ConsoleCommand* command);
    7372            static const std::string& getArgument(unsigned int index);
    7473            static const std::string& getLastArgument();
     
    7675            static void createListOfPossibleIdentifiers(const std::string& fragment);
    7776            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);
    7978
    8079            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);
    8382
    84             static void createArgumentCompletionList(ConsoleCommand* command, unsigned int param);
     83            static void createArgumentCompletionList(_ConsoleCommand* command, unsigned int param);
    8584            static std::string getCommonBegin(const std::list<std::pair<const std::string*, const std::string*> >& list);
    8685            static std::string getCommonBegin(const ArgumentCompletionList& list);
Note: See TracChangeset for help on using the changeset viewer.