2016-01-13 09:29:09 -05:00
|
|
|
#pragma once
|
2015-04-14 17:00:48 -04:00
|
|
|
|
2015-07-07 10:01:17 -04:00
|
|
|
#include "src/common.h"
|
2015-04-14 17:00:48 -04:00
|
|
|
|
|
|
|
class TyroConfig {
|
|
|
|
public:
|
|
|
|
TyroConfig();
|
|
|
|
~TyroConfig();
|
|
|
|
JsonValue GetRoot();
|
2015-04-21 09:55:28 -04:00
|
|
|
void LoadJson(const char json[]);
|
2015-04-14 17:00:48 -04:00
|
|
|
private:
|
|
|
|
JsonValue default_root;
|
|
|
|
JsonReader reader;
|
|
|
|
};
|