Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 28, 2010, 1:51:04 AM (15 years ago)
Author:
landauf
Message:

replaced the temporary names of all ConsoleCommand related classes and functions by their real names

File:
1 edited

Legend:

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

    r7234 r7236  
    3838    static const std::string __CC_autocomplete_name = "autocomplete";
    3939
    40     _SetConsoleCommand(__CC_CommandExecutor_name, __CC_autocomplete_name, &CommandExecutor::_autocomplete)
     40    SetConsoleCommand(__CC_CommandExecutor_name, __CC_autocomplete_name, &CommandExecutor::_autocomplete)
    4141        .hide()
    4242        .argumentCompleter(0, autocompletion::groupsandcommands())
    4343        .argumentCompleter(1, autocompletion::subcommands());
    4444
    45     _SetConsoleCommand("unhide", &CommandExecutor::unhide)
     45    SetConsoleCommand("unhide", &CommandExecutor::unhide)
    4646        .argumentCompleter(0, autocompletion::hiddencommand());
    4747
     
    8787        evaluation.initialize(command);
    8888
    89         evaluation.hintCommand_ = _ConsoleCommand::getCommand(__CC_CommandExecutor_name, __CC_autocomplete_name);
     89        evaluation.hintCommand_ = ConsoleCommand::getCommand(__CC_CommandExecutor_name, __CC_autocomplete_name);
    9090
    9191        if (evaluation.getNumberOfArguments() >= 1)
    9292        {
    93             evaluation.execCommand_ = _ConsoleCommand::getCommandLC(evaluation.getToken(0));
     93            evaluation.execCommand_ = ConsoleCommand::getCommandLC(evaluation.getToken(0));
    9494            if (evaluation.execCommand_)
    9595                evaluation.execArgumentsOffset_ = 1;
    9696            else if (evaluation.getNumberOfArguments() >= 2)
    9797            {
    98                 evaluation.execCommand_ = _ConsoleCommand::getCommandLC(evaluation.getToken(0), evaluation.getToken(1));
     98                evaluation.execCommand_ = ConsoleCommand::getCommandLC(evaluation.getToken(0), evaluation.getToken(1));
    9999                if (evaluation.execCommand_)
    100100                    evaluation.execArgumentsOffset_ = 2;
Note: See TracChangeset for help on using the changeset viewer.