SDRPlusPlus/core/src/config.h

22 lines
441 B
C
Raw Normal View History

2020-08-16 03:39:05 +02:00
#pragma once
#include <json.hpp>
#include <fstream>
#include <spdlog/spdlog.h>
#include <filesystem>
#include <sstream>
#include <iomanip>
#include <thread>
#include <chrono>
using nlohmann::json;
namespace config {
void load(std::string path);
void startAutoSave();
void stopAutoSave();
2020-09-06 15:39:09 +02:00
void setRootDirectory(std::string dir);
std::string getRootDirectory();
2020-08-16 03:39:05 +02:00
extern bool configModified;
extern json config;
};