mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-09 18:45:22 +02:00
fixed linux bugs
This commit is contained in:
@ -8,6 +8,11 @@ using nlohmann::json;
|
||||
|
||||
#define DEV_BUILD
|
||||
|
||||
|
||||
#define SDRPP_RESOURCE_DIR "/usr/local/"
|
||||
|
||||
|
||||
|
||||
#ifndef ROOT_DIR
|
||||
#ifdef DEV_BUILD
|
||||
#define ROOT_DIR "../root_dev"
|
||||
@ -29,11 +34,20 @@ public:
|
||||
void aquire();
|
||||
void release(bool changed = false);
|
||||
|
||||
// static void setResourceDir(std::string path);
|
||||
// static std::string getResourceDir();
|
||||
|
||||
// static void setConfigDir(std::string path);
|
||||
// static std::string getConfigDir();
|
||||
|
||||
json conf;
|
||||
|
||||
private:
|
||||
static void autoSaveWorker(ConfigManager* _this);
|
||||
|
||||
//static std::string resDir;
|
||||
//static std::string configDir;
|
||||
|
||||
std::string path = "";
|
||||
bool changed = false;
|
||||
bool autoSaveEnabled = false;
|
||||
|
Reference in New Issue
Block a user