#ifndef CONFIG #define CONFIG #include "jsoncpp/json.h" #include #include #include #include using namespace std; class Config { public: Config(string filename); int genDefConf(); public: int width = 0, height = 0, sdlOption = 0; private: Json::Value jsonConfig; }; #endif //CONFIG