fortune cookie message = Der Stern des Reichtums wird in Kürze auf dich scheinen
29 lines
541 B
C++
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/"));
|
|
}
|