big merge

This commit is contained in:
Philippe G
2021-12-18 21:04:23 -08:00
parent 955692f8ad
commit 898998efb0
583 changed files with 84472 additions and 1965 deletions

View File

@@ -0,0 +1,26 @@
#ifndef CONFIGJSON_H
#define CONFIGJSON_H
#include <memory>
#include <iostream>
#include "FileHelper.h"
#include "ProtoHelper.h"
class ConfigJSON
{
private:
std::shared_ptr<FileHelper> _file;
std::string _jsonFileName;
public:
ConfigJSON(std::string jsonFileName, std::shared_ptr<FileHelper> file);
bool load();
bool save();
uint16_t volume;
std::string deviceName;
AudioFormat format;
};
extern std::shared_ptr<ConfigJSON> configMan;
#endif