Logo Search packages:      
Sourcecode: pan version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

pan::PrefsFile Class Reference

Inheritance diagram for pan::PrefsFile:
Inheritance graph
[legend]
Collaboration diagram for pan::PrefsFile:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void add_listener (Listener *l)
void from_string (const StringView &xml)
GdkColor get_color (const StringView &key, const StringView &fallback_str) const
GdkColor get_color (const StringView &key, const GdkColor &fallback) const
std::string get_color_str (const StringView &key, const GdkColor &fallback) const
std::string get_color_str (const StringView &key, const StringView &fallback_str) const
bool get_flag (const StringView &key, bool fallback) const
bool get_geometry (const StringView &, int &, int &, int &, int &) const
int get_int (const StringView &key, int fallback) const
std::string get_string (const StringView &key, const StringView &fallback) const
 PrefsFile (const StringView &filename)
void remove_listener (Listener *l)
virtual void save () const
void set_color (const StringView &key, const StringView &color_str)
void set_color (const StringView &key, const GdkColor &color)
void set_default_geometry (const StringView &, int, int, int, int)
void set_flag (const StringView &key, bool)
void set_geometry (const StringView &, int, int, int, int)
void set_int (const StringView &key, int)
void set_string (const StringView &key, const StringView &)
void set_window (const StringView &key, GtkWindow *window, int default_x, int default_y, int default_width, int default_height)
void to_string (int indent, std::string &setme) const

Static Public Member Functions

static void start_element (GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_vals, gpointer user_data, GError **error)

Private Member Functions

void set_from_file (const StringView &filename)
void set_from_xml (const StringView &xml_string)

Private Attributes

std::string _filename

Detailed Description

Definition at line 27 of file prefs-file.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index