Colobot
|
Class for managing data/lang/save paths. More...
#include <pathman.h>
Public Member Functions | |
CPathManager (CSystemUtils *systemUtils) | |
void | SetDataPath (std::string dataPath) |
void | SetLangPath (std::string langPath) |
void | SetSavePath (std::string savePath) |
void | AddMod (std::string modPath) |
const std::string & | GetDataPath () |
const std::string & | GetLangPath () |
const std::string & | GetSavePath () |
std::string | VerifyPaths () |
Checks if paths are configured correctly. More... | |
void | InitPaths () |
Loads configured paths. More... | |
Additional Inherited Members | |
![]() | |
static CPathManager & | GetInstance () |
static CPathManager * | GetInstancePointer () |
static bool | IsCreated () |
![]() | |
static CPathManager * | m_instance = nullptr |
Class for managing data/lang/save paths.
std::string CPathManager::VerifyPaths | ( | ) |
Checks if paths are configured correctly.
void CPathManager::InitPaths | ( | ) |
Loads configured paths.