Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2009, 12:28:59 PM (14 years ago)
Author:
rgrieder
Message:

Renamed CommandLine to CommandLineParse to avoid confusions with the class name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/Core.cc

    r5929 r6021  
    5454#include "PathConfig.h"
    5555#include "CommandExecutor.h"
    56 #include "CommandLine.h"
     56#include "CommandLineParser.h"
    5757#include "ConfigFileManager.h"
    5858#include "ConfigValueIncludes.h"
     
    216216
    217217        // Parse command line arguments AFTER the modules have been loaded (static code!)
    218         CommandLine::parseCommandLine(cmdLine);
     218        CommandLineParser::parseCommandLine(cmdLine);
    219219
    220220        // Set configurable paths like log, config and media
     
    230230
    231231        // Parse additional options file now that we know its path
    232         CommandLine::parseFile();
     232        CommandLineParser::parseFile();
    233233
    234234#ifdef ORXONOX_PLATFORM_WINDOWS
     
    236236        // do this after ogre has initialised. Somehow Ogre changes the settings again (not through
    237237        // the timer though).
    238         int limitToCPU = CommandLine::getValue("limitToCPU");
     238        int limitToCPU = CommandLineParser::getValue("limitToCPU");
    239239        if (limitToCPU > 0)
    240240            setThreadAffinity(static_cast<unsigned int>(limitToCPU));
     
    244244        this->configFileManager_.reset(new ConfigFileManager());
    245245        this->configFileManager_->setFilename(ConfigFileType::Settings,
    246             CommandLine::getValue("settingsFile").getString());
     246            CommandLineParser::getValue("settingsFile").getString());
    247247
    248248        // Required as well for the config values
Note: See TracChangeset for help on using the changeset viewer.