2015-04-13 16:48:41 -04:00
|
|
|
/*
|
|
|
|
* File: Settings.h
|
|
|
|
* Author: twarren
|
|
|
|
*
|
|
|
|
* Created on April 13, 2015, 4:18 PM
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SETTINGS_H
|
|
|
|
#define SETTINGS_H
|
|
|
|
|
|
|
|
#include "../common.h"
|
|
|
|
#include "../../include/json/json.h"
|
|
|
|
|
|
|
|
class TyroSettings {
|
|
|
|
public:
|
2015-04-14 08:09:11 -04:00
|
|
|
TyroSettings();
|
|
|
|
~TyroSettings();
|
|
|
|
Json::Value GetRoot();
|
2015-04-13 16:48:41 -04:00
|
|
|
private:
|
2015-04-14 08:09:11 -04:00
|
|
|
Json::Value default_root;
|
|
|
|
Json::Reader reader;
|
2015-04-13 16:48:41 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* SETTINGS_H */
|
|
|
|
|