2015-04-14 17:00:48 -04:00
|
|
|
#ifndef TYRO_CONFIG_H
|
|
|
|
#define TYRO_CONFIG_H
|
|
|
|
|
|
|
|
#include "../common.h"
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* TYRO_CONFIG_H */
|
|
|
|
|