Files
Sourcetrail/src/lib/utility/UserPaths.cpp
T
Eberhard Graether 8660ab5b14 build: Codesign MacOS app bundle to avoid "from unidentified developer" warning
fortune cookie message = Der Stern des Reichtums wird in Kürze auf dich scheinen
2017-05-31 16:23:25 +02:00

29 lines
541 B
C++

#include "utility/UserPaths.h"
FilePath UserPaths::s_userDataPath;
FilePath UserPaths::getUserDataPath()
{
return s_userDataPath;
}
void UserPaths::setUserDataPath(const FilePath& path)
{
s_userDataPath = path;
}
FilePath UserPaths::getAppSettingsPath()
{
return getUserDataPath().concat(FilePath("ApplicationSettings.xml"));
}
FilePath UserPaths::getWindowSettingsPath()
{
return getUserDataPath().concat(FilePath("window_settings.ini"));
}
FilePath UserPaths::getLogPath()
{
return getUserDataPath().concat(FilePath("log/"));
}