Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 28, 2010, 1:51:04 AM (14 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/input/KeyDetector.cc

    r7219 r7236  
    4141
    4242    static const std::string __CC_KeyDetector_callback_name = "KeyDetectorKeyPressed";
    43     _DeclareConsoleCommand(__CC_KeyDetector_callback_name, &prototype::void__string);
     43    DeclareConsoleCommand(__CC_KeyDetector_callback_name, &prototype::void__string);
    4444
    4545    KeyDetector::KeyDetector()
     
    4848        RegisterObject(KeyDetector);
    4949
    50         _ModifyConsoleCommand(__CC_KeyDetector_callback_name).setFunction(&KeyDetector::callback, this);
     50        ModifyConsoleCommand(__CC_KeyDetector_callback_name).setFunction(&KeyDetector::callback, this);
    5151
    5252        this->assignCommands();
     
    6262        inputState_->setHandler(NULL);
    6363        InputManager::getInstance().destroyState("detector");
    64         _ModifyConsoleCommand(__CC_KeyDetector_callback_name).resetFunction();
     64        ModifyConsoleCommand(__CC_KeyDetector_callback_name).resetFunction();
    6565    }
    6666
Note: See TracChangeset for help on using the changeset viewer.