Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2015, 12:22:27 PM (9 years ago)
Author:
landauf
Message:

moved static application paths (root, executable, modules) into new class named ApplicationPaths
moved configurable data paths (data, log, config) into new class named ConfigurablePaths
removed PathConfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/Language.cc

    r10480 r10509  
    3737#include "util/Output.h"
    3838#include "util/StringUtils.h"
    39 #include "PathConfig.h"
     39#include "ConfigurablePaths.h"
    4040
    4141namespace orxonox
     
    202202        orxout(internal_info, context::language) << "Read default language file." << endl;
    203203
    204         const std::string& filepath = PathConfig::getConfigPathString() + getFilename(this->defaultLanguage_);
     204        const std::string& filepath = ConfigurablePaths::getConfigPathString() + getFilename(this->defaultLanguage_);
    205205
    206206        // This creates the file if it's not existing
     
    252252        orxout(internal_info, context::language) << "Read translated language file (" << language << ")." << endl;
    253253
    254         const std::string& filepath = PathConfig::getConfigPathString() + getFilename(language);
     254        const std::string& filepath = ConfigurablePaths::getConfigPathString() + getFilename(language);
    255255
    256256        // Open the file
     
    305305        orxout(verbose, context::language) << "Write default language file." << endl;
    306306
    307         const std::string& filepath = PathConfig::getConfigPathString() + getFilename(this->defaultLanguage_);
     307        const std::string& filepath = ConfigurablePaths::getConfigPathString() + getFilename(this->defaultLanguage_);
    308308
    309309        // Open the file
Note: See TracChangeset for help on using the changeset viewer.