YggdrasilWM  0.1.1
A tiny window manager coded in C++
ConfigDataBase.hpp
Go to the documentation of this file.
1 
28 #ifndef YGGDRASILWM_CONFIGDATABASE_H
29 #define YGGDRASILWM_CONFIGDATABASE_H
30 #include "json/json.h"
31 
39 public:
40  ConfigDataBase() = default;
41  virtual ~ConfigDataBase() = default;
47  virtual void configInit(const Json::Value& root_) = 0;
53  virtual Json::Value configSave() = 0;
54 };
55 
56 #endif //YGGDRASILWM_CONFIGDATABASE_H
ConfigDataBase class This class is an interface for the ConfigData classes This is a pure virtual cla...
Definition: ConfigDataBase.hpp:38
ConfigDataBase()=default
virtual Json::Value configSave()=0
Build a Json::Value object with the configuration.
virtual void configInit(const Json::Value &root_)=0
Initialize the configuration.
virtual ~ConfigDataBase()=default