#ifndef CONFIGMANAGER_H_ #define CONFIGMANAGER_H_ #include #include #include #include #define CONFIG_FILE "/etc/fantasize/config.json" using json = nlohmann::json; class ConfigManager { public: ConfigManager(); ~ConfigManager(); void WriteConfig(); void SaveFans(std::vector> fans); private: json mConfig; }; #endif // CONFIGMANAGER_H_