class CPathHandler{ private: static std::string mDefaultPrefix; static bool mInit; public: /* ---------------------------------- INIT ---------------------------------- // Description : initialise the pathhandler // --------------------------------------------------------------------------*/ static bool Init(std::string DefaultPrefix); /* ------------------------------ GETDATAPATH ------------------------------- // Description : return the path of the data // --------------------------------------------------------------------------*/ std::string getDataPath(); /* ------------------------------- GETVARPATH ------------------------------- // Description : return the path of the var // --------------------------------------------------------------------------*/ std::string getVarPath(); /* ------------------------------- GETBINPATH ------------------------------- // Description : return the path of the binary // --------------------------------------------------------------------------*/ std::string getBinPath(); std::string CeateDataPath(std::string PathData); };