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/ConfigFileManager.cc

    r7219 r7236  
    431431    static const std::string __CC_getConfig_name = "getConfig";
    432432
    433     _SetConsoleCommand(__CC_load_name,            &ConfigFile::load);
    434     _SetConsoleCommand(__CC_setFilename_name,     &SettingsConfigFile::setFilename);
    435     _SetConsoleCommand(__CC_config_name,          &SettingsConfigFile::config).argumentCompleter(0, autocompletion::settingssections()).argumentCompleter(1, autocompletion::settingsentries()).argumentCompleter(2, autocompletion::settingsvalue());
    436     _SetConsoleCommand(__CC_tconfig_name,         &SettingsConfigFile::tconfig).argumentCompleter(0, autocompletion::settingssections()).argumentCompleter(1, autocompletion::settingsentries()).argumentCompleter(2, autocompletion::settingsvalue());
    437     _SetConsoleCommand(__CC_getConfig_name,       &SettingsConfigFile::getConfig).argumentCompleter(0, autocompletion::settingssections()).argumentCompleter(1, autocompletion::settingsentries());
     433    SetConsoleCommand(__CC_load_name,            &ConfigFile::load);
     434    SetConsoleCommand(__CC_setFilename_name,     &SettingsConfigFile::setFilename);
     435    SetConsoleCommand(__CC_config_name,          &SettingsConfigFile::config).argumentCompleter(0, autocompletion::settingssections()).argumentCompleter(1, autocompletion::settingsentries()).argumentCompleter(2, autocompletion::settingsvalue());
     436    SetConsoleCommand(__CC_tconfig_name,         &SettingsConfigFile::tconfig).argumentCompleter(0, autocompletion::settingssections()).argumentCompleter(1, autocompletion::settingsentries()).argumentCompleter(2, autocompletion::settingsvalue());
     437    SetConsoleCommand(__CC_getConfig_name,       &SettingsConfigFile::getConfig).argumentCompleter(0, autocompletion::settingssections()).argumentCompleter(1, autocompletion::settingsentries());
    438438
    439439    SettingsConfigFile* SettingsConfigFile::singletonPtr_s = 0;
     
    442442        : ConfigFile(filename)
    443443    {
    444         _ModifyConsoleCommand(__CC_load_name).setObject(this);
    445         _ModifyConsoleCommand(__CC_setFilename_name).setObject(this);
    446         _ModifyConsoleCommand(__CC_config_name).setObject(this);
    447         _ModifyConsoleCommand(__CC_tconfig_name).setObject(this);
    448         _ModifyConsoleCommand(__CC_getConfig_name).setObject(this);
     444        ModifyConsoleCommand(__CC_load_name).setObject(this);
     445        ModifyConsoleCommand(__CC_setFilename_name).setObject(this);
     446        ModifyConsoleCommand(__CC_config_name).setObject(this);
     447        ModifyConsoleCommand(__CC_tconfig_name).setObject(this);
     448        ModifyConsoleCommand(__CC_getConfig_name).setObject(this);
    449449    }
    450450
    451451    SettingsConfigFile::~SettingsConfigFile()
    452452    {
    453         _ModifyConsoleCommand(__CC_load_name).setObject(0);
    454         _ModifyConsoleCommand(__CC_setFilename_name).setObject(0);
    455         _ModifyConsoleCommand(__CC_config_name).setObject(0);
    456         _ModifyConsoleCommand(__CC_tconfig_name).setObject(0);
    457         _ModifyConsoleCommand(__CC_getConfig_name).setObject(0);
     453        ModifyConsoleCommand(__CC_load_name).setObject(0);
     454        ModifyConsoleCommand(__CC_setFilename_name).setObject(0);
     455        ModifyConsoleCommand(__CC_config_name).setObject(0);
     456        ModifyConsoleCommand(__CC_tconfig_name).setObject(0);
     457        ModifyConsoleCommand(__CC_getConfig_name).setObject(0);
    458458    }
    459459
Note: See TracChangeset for help on using the changeset viewer.