satdump/src-core/settings.h

12 lines
337 B
C
Raw Normal View History

2021-05-05 15:52:12 +02:00
#pragma once
#include <string>
#include "nlohmann/json.hpp"
#include "dll_export.h"
SATDUMP_DLL extern nlohmann::json settings; // User settings / data, for example in the UI interface
SATDUMP_DLL extern nlohmann::json global_cfg; // Satdump-wise settings
2021-05-05 15:52:12 +02:00
void loadConfig();
2021-05-05 15:52:12 +02:00
void loadSettings(std::string path);
void saveSettings();