Files
Sourcetrail/src/lib/utility/UserPaths.h
T
malte_langkabel 5482e56e82 build: deploy changes
* moved sample projects from data to user folder
* added fallback files for app and window settings
* implemented copying app and window settings to user folder when not found on app startup
* fixed upgrading for windows installer
2016-12-14 13:33:17 +01:00

25 lines
526 B
C++

#ifndef USER_PATHS_H
#define USER_PATHS_H
#include <string>
class UserPaths
{
public:
static std::string getUserDataPath();
static void setUserDataPath(const std::string& path);
static std::string getSampleProjectsPath();
static void setSampleProjectsPath(const std::string& path);
static std::string getAppSettingsPath();
static std::string getWindowSettingsPath();
static std::string getLogPath();
private:
static std::string s_userDataPath;
static std::string s_sampleProjectsPath;
};
#endif // USER_PATHS_H