WIP. Adding config file handling. UserInterface settings implemented
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef CONFIG_READER_HPP
|
||||
#define CONFIG_READER_HPP
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <libconfig.h++>
|
||||
|
||||
#include "service/UserInterfaceService.hpp"
|
||||
|
||||
class ConfigReader
|
||||
{
|
||||
public:
|
||||
|
||||
ConfigReader(boost::filesystem::path p);
|
||||
|
||||
void getUserInterfaceConfig(Service::UserInterfaceService::Config& config);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
libconfig::Config _config;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user