/* Copyright © 2015 Gluzskiy Alexandr (sss) This file is part of Unknown Download Manager (UDM). UDM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. UDM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with UDM. If not, see . */ #ifndef CONFIG_H_INCLUDED #define CONFIG_H_INCLUDED #include #include namespace bpt = boost::property_tree; class module_metadata_storage; struct settings_s { settings_s() { verbosity = 0; } short verbosity; }; struct runtime_config_s { //TODO: define metadata and data storage modules per module alongside with default ones bpt::ptree config_file; module_metadata_storage *default_metadata_storage; settings_s settings; runtime_config_s() { default_metadata_storage = nullptr; } }; #endif