#ifndef JUCI_CONFIG_H_ #define JUCI_CONFIG_H_ #include #include #include "menu.h" class MainConfig { public: MainConfig(); const boost::filesystem::path& juci_home_path() const { return home; } private: 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(); std::vector init_home_path(); boost::property_tree::ptree cfg; boost::filesystem::path home; }; #endif