#include #include #include #include #include "keybindings.h" #include "source.h" class MainConfig { public: MainConfig(); const Source::Config& source_cfg(); Keybindings::Config& keybindings_cfg(); void PrintMenu(); //boost::property_tree::ptree& source_cfg(); //boost::property_tree::ptree& keybindings_cfg(); //boost::property_tree::ptree& notebookk_cfg(); //boost::property_tree::ptree& menu_cfg(); boost::property_tree::ptree cfg_; // boost::property_tree::ptree sourcecfg_; boost::property_tree::ptree key_tree_; // boost::property_tree::ptree notebook_cfg_; // boost::property_tree::ptree menu_cfg_; Source::Config source_cfg_; Keybindings::Config keybindings_cfg_; void GenerateSource(); void GenerateKeybindings(); };