broke classes into their own files

This commit is contained in:
Chris Punches
2017-04-22 08:07:11 -04:00
parent f66391d2b0
commit 69539ae019
37 changed files with 1016 additions and 353 deletions

24
src/loaders/Conf.cpp Normal file
View File

@@ -0,0 +1,24 @@
//
// Created by phanes on 4/22/17.
//
#include "Conf.h"
#include "JLoader.h"
#include <string>
Conf::Conf( std::string filename ): JLoader( filename )
{
this->plan_path = this->get_root()["plan_path"].asString();
this->units_path = this->get_root()["units_path"].asString();
};
std::string Conf::get_plan_path()
{
return this->plan_path;
}
std::string Conf::get_units_path()
{
return this->units_path;
}