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.

29 lines
679 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 <fstream>
#include <string>
#include "singletons.h"
#include "keybindings.h"
#include "source.h"
#include "directories.h"
#include "terminal.h"
11 years ago
class MainConfig {
public:
Terminal::Config terminal_cfg;
Keybindings::Config keybindings_cfg;
Directories::Config dir_cfg;
11 years ago
MainConfig();
void PrintMenu();
void GenerateSource();
void GenerateKeybindings();
void GenerateDirectoryFilter();
void GenerateTerminalCommands();
11 years ago
private:
boost::property_tree::ptree cfg_;
boost::property_tree::ptree key_tree_;
};
#endif