Files
yourchat/config.h
Torsten Schulz 26ab29859d Initial submit
2017-07-18 23:51:56 +02:00

25 lines
396 B
C++

#ifndef YC_LIB_CONFIG_H
#define YC_LIB_CONFIG_H
#include <string>
#include <json/value.h>
namespace Yc {
namespace Lib {
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