2017-04-18 23:04:21 +00:00
|
|
|
#include <iostream>
|
|
|
|
#include "src/json/json.h"
|
|
|
|
#include "src/loaders.h"
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2017-04-19 05:50:34 +00:00
|
|
|
Conf configuration = Conf("config.json");
|
|
|
|
UnitHolder unitHolder = UnitHolder( configuration.get_units_path() );
|
|
|
|
Plan plan = Plan( configuration.get_plan_path() );
|
|
|
|
|
|
|
|
for ( int i = 0; i < plan.tasks.size(); ++i )
|
|
|
|
{
|
|
|
|
std::cout << plan.tasks[i].get_name() << std::endl;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-18 23:04:21 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|