You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
503 B

11 years ago
#ifndef JUCI_CONFIG_H_
#define JUCI_CONFIG_H_
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include "menu.h"
11 years ago
class MainConfig {
public:
MainConfig();
void find_or_create_config_files();
bool check_config_file(const boost::property_tree::ptree &default_cfg, std::string parent_path="");
void update_config_file();
11 years ago
void PrintMenu();
void GenerateSource();
void GenerateDirectoryFilter();
11 years ago
private:
boost::property_tree::ptree cfg;
11 years ago
};
#endif