Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 30, 2009, 12:00:16 AM (15 years ago)
Author:
rgrieder
Message:

Extracted path related parts of Core into a new PathConfig class. This should decrease the mess in Core.cc a little bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/core/CommandLine.cc

    r5738 r5836  
    3838#include "util/StringUtils.h"
    3939#include "util/SubString.h"
    40 #include "Core.h"
     40#include "PathConfig.h"
    4141
    4242namespace orxonox
     
    348348    {
    349349        std::string filename = CommandLine::getValue("optionsFile").getString();
    350         boost::filesystem::path filepath(Core::getConfigPath() / filename);
     350        boost::filesystem::path filepath(PathConfig::getConfigPath() / filename);
    351351
    352352        // look for additional arguments in given file or start.ini as default
Note: See TracChangeset for help on using the changeset viewer.