#ifndef JUCI_CONFIG_H_ #define JUCI_CONFIG_H_ #include #include "menu.h" class MainConfig { public: MainConfig(); void find_or_create_config_files(); void retrieve_config(); bool check_config_file(const boost::property_tree::ptree &default_cfg, std::string parent_path=""); void update_config_file(); void PrintMenu(); void GenerateSource(); void GenerateDirectoryFilter(); const boost::filesystem::path& juci_home_path() { return home; } const; private: std::vector init_home_path(); boost::property_tree::ptree cfg; boost::filesystem::path home; }; #endif