Colobot
Public Member Functions | List of all members
CPathManager Class Reference

Class for managing data/lang/save paths. More...

#include <pathman.h>

Inheritance diagram for CPathManager:
Inheritance graph
[legend]

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 Public Member Functions inherited from CSingleton< CPathManager >
static CPathManagerGetInstance ()
 
static CPathManagerGetInstancePointer ()
 
static bool IsCreated ()
 
- Static Protected Attributes inherited from CSingleton< CPathManager >
static CPathManagerm_instance = nullptr
 

Detailed Description

Class for managing data/lang/save paths.

Member Function Documentation

std::string CPathManager::VerifyPaths ( )

Checks if paths are configured correctly.

void CPathManager::InitPaths ( )

Loads configured paths.


The documentation for this class was generated from the following files: