Initial submit

This commit is contained in:
Torsten Schulz
2017-07-18 23:51:56 +02:00
parent 071d70ecf6
commit 26ab29859d
13 changed files with 535 additions and 68 deletions

View File

@@ -1,6 +1,8 @@
#ifndef YC_LIB_CONFIG_H
#define YC_LIB_CONFIG_H
#include <string>
#include <json/value.h>
namespace Yc {
namespace Lib {
@@ -9,9 +11,14 @@ class Config
{
public:
Config();
void loadConfig();
Json::Value value(std::string group, std::string field);
Json::Value group(std::string groupName);
private:
Json::Value jsonConfig;
};
} // namespace Lib
} // namespace Yc
#endif // YC_LIB_CONFIG_H
#endif // YC_LIB_CONFIG_H