Push before merge

This commit is contained in:
Ryzerth
2020-09-06 15:39:09 +02:00
parent 7190acfe9e
commit c0825dbeeb
35 changed files with 90 additions and 57 deletions

View File

@@ -6,6 +6,7 @@ namespace config {
bool autoSaveRunning = false;
std::string _path;
std::thread _workerThread;
std::string rootDir;
void _autoSaveWorker() {
while (autoSaveRunning) {
@@ -50,4 +51,12 @@ namespace config {
autoSaveRunning = false;
_workerThread.join();
}
void setRootDirectory(std::string dir) {
rootDir = dir;
}
std::string getRootDirectory() {
return rootDir;
}
};