#ifndef CONFIGJSON_H #define CONFIGJSON_H #include #include #include "FileHelper.h" #include "protobuf/metadata.pb.h" class ConfigJSON { private: std::shared_ptr _file; std::string _jsonFileName; public: ConfigJSON(std::string jsonFileName, std::shared_ptr file); bool load(); bool save(); uint16_t volume; std::string deviceName; std::string apOverride; AudioFormat format; }; extern std::shared_ptr configMan; #endif