rex/main.cpp

21 lines
441 B
C++
Raw Normal View History

2017-04-18 23:04:21 +00:00
#include <iostream>
#include <fstream>
#include "src/json/json.h"
#include <string>
#include "src/json/json-forwards.h"
#include "src/loaders.h"
/*configuration load_config_file( std::string filename )
{
json j_conf = json_file_to_json_obj( filename );
configuration appconfig = j_conf;
return appconfig;
}*/
int main()
{
2017-04-18 23:35:06 +00:00
Conf jsonLoader = Conf("config.json");
2017-04-18 23:04:21 +00:00
2017-04-18 23:35:06 +00:00
std::cout << jsonLoader.get_units_path();
2017-04-18 23:04:21 +00:00
return 0;
}