Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Config Class Reference

#include <Config.h>

List of all members.

Public Member Functions

 Config () throw (SystemException, ConsistencyCheckException)
 ~Config () throw ()
bool get_view_read () throw ()
bool get_view_empty () throw ()
bool get_view_important () throw ()
void set_view_read (bool val) throw ()
void set_view_empty (bool val) throw ()
void set_view_important (bool val) throw ()
int get_update_interval () throw ()
void set_update_interval (int val) throw ()
std::vector< std::string > get_folder_locations () throw ()
void set_folder_locations (const std::vector< std::string > &locations) throw ()
std::vector< MailProgramget_mail_programs () throw ()
void set_mail_programs (const std::vector< MailProgram > &programs) throw ()
MailProgram get_selected_mail_program () throw ()
void save () throw (ConsistencyCheckException)

Protected Member Functions

xmlpp::Element * el_root () throw ()
xmlpp::Element * el_general () throw ()
xmlpp::Element * el_view () throw ()
xmlpp::Element * el_view_empty () throw ()
xmlpp::Element * el_view_read () throw ()
xmlpp::Element * el_view_important () throw ()
xmlpp::Element * el_locations () throw ()
xmlpp::Element * el_interval () throw ()
xmlpp::Element * el_programs () throw ()

Protected Attributes

xmlpp::DomParser _xmlparser
xmlpp::Document * doc_conf
xmlpp::Element * _root
xmlpp::Element * _general
xmlpp::Element * _view
xmlpp::Element * _view_empty
xmlpp::Element * _view_read
xmlpp::Element * _view_important
xmlpp::Element * _locations
xmlpp::Element * _interval
xmlpp::Element * _programs
std::string rcfile


Constructor & Destructor Documentation

Config::Config  )  throw (SystemException, ConsistencyCheckException)
 

Config::~Config  )  throw ()
 


Member Function Documentation

xmlpp::Element * Config::el_general  )  throw () [protected]
 

xmlpp::Element * Config::el_interval  )  throw () [protected]
 

xmlpp::Element * Config::el_locations  )  throw () [protected]
 

xmlpp::Element * Config::el_programs  )  throw () [protected]
 

xmlpp::Element * Config::el_root  )  throw () [protected]
 

xmlpp::Element * Config::el_view  )  throw () [protected]
 

xmlpp::Element * Config::el_view_empty  )  throw () [protected]
 

xmlpp::Element * Config::el_view_important  )  throw () [protected]
 

xmlpp::Element * Config::el_view_read  )  throw () [protected]
 

std::vector< std::string > Config::get_folder_locations  )  throw ()
 

std::vector< MailProgram > Config::get_mail_programs  )  throw ()
 

MailProgram Config::get_selected_mail_program  )  throw ()
 

int Config::get_update_interval  )  throw ()
 

bool Config::get_view_empty  )  throw ()
 

bool Config::get_view_important  )  throw ()
 

bool Config::get_view_read  )  throw ()
 

void Config::save  )  throw (ConsistencyCheckException)
 

void Config::set_folder_locations const std::vector< std::string > &  locations  )  throw ()
 

void Config::set_mail_programs const std::vector< MailProgram > &  programs  )  throw ()
 

void Config::set_update_interval int  val  )  throw ()
 

void Config::set_view_empty bool  val  )  throw ()
 

void Config::set_view_important bool  val  )  throw ()
 

void Config::set_view_read bool  val  )  throw ()
 


Member Data Documentation

xmlpp::Element* Config::_general [protected]
 

xmlpp::Element* Config::_interval [protected]
 

xmlpp::Element* Config::_locations [protected]
 

xmlpp::Element* Config::_programs [protected]
 

xmlpp::Element* Config::_root [protected]
 

xmlpp::Element* Config::_view [protected]
 

xmlpp::Element* Config::_view_empty [protected]
 

xmlpp::Element* Config::_view_important [protected]
 

xmlpp::Element* Config::_view_read [protected]
 

xmlpp::DomParser Config::_xmlparser [protected]
 

xmlpp::Document* Config::doc_conf [protected]
 

std::string Config::rcfile [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Mar 11 00:39:21 2005 for libbuffy by  doxygen 1.4.1