#include <Config.h>
Public Member Functions | |
Config () throw (SystemException, ConsistencyCheckException) | |
Config (const std::string &fname) throw (SystemException, ConsistencyCheckException) | |
~Config () throw () | |
ConfigItemBool | view_empty () throw () |
ConfigItemBool | view_read () throw () |
ConfigItemBool | view_important () throw () |
ConfigItemInt | update_interval () throw () |
ConfigItemLocations | folder_locations () throw () |
ConfigItemMailPrograms | mail_programs () throw () |
ConfigItemDictionary | application (const std::string &name) throw () |
ConfigItemDictionary | folder (const MailFolder &folder) throw () |
ConfigItemDictionary | folder (const std::string &folder) throw () |
void | save () throw (ConsistencyCheckException) |
void | save (const std::string &file) throw (ConsistencyCheckException) |
Protected Member Functions | |
void | loadConfiguration (const std::string &fname) throw (SystemException, ConsistencyCheckException) |
xmlpp::Element * | getElement (const std::string &path) |
xmlpp::Element * | getElement (xmlpp::Element *father, const std::string &path) |
xmlpp::Element * | obtainElement (const std::string &path) |
xmlpp::Element * | obtainElement (xmlpp::Element *father, const std::string &path) |
xmlpp::Element * | obtainNamedElement (xmlpp::Element *father, const std::string &nodeName, const std::string &name) throw () |
Protected Attributes | |
xmlpp::DomParser | _xmlparser |
xmlpp::Document * | doc_conf |
xmlpp::Element * | m_el_root |
ConfigItem * | m_el_general |
ConfigItem * | m_el_view |
ConfigItem * | m_el_applications |
ConfigItem * | m_el_folders |
std::string | rcfile |
Friends | |
class | ConfigItem |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|