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

Public Member Functions | Static Protected Member Functions | Private Types | Private Member Functions | Private Attributes

pan::GroupPrefs Class Reference

List of all members.

Public Member Functions

bool get_flag (const Quark &group, const StringView &key, bool fallback) const
int get_int (const Quark &group, const StringView &key, int fallback) const
std::string get_string (const Quark &group, const StringView &key, const StringView &fallback) const
 GroupPrefs (const StringView &filename)
void save () const
void set_flag (const Quark &group, const StringView &key, bool fallback)
void set_int (const Quark &group, const StringView &key, int fallback)
void set_string (const Quark &group, const StringView &key, const StringView &fallback)

Static Protected Member Functions

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

Private Types

typedef std::map< Quark, Prefsgroup_prefs_t

Private Member Functions

void from_string (const StringView &)
void set_from_file (const StringView &filename)

Private Attributes

std::string _filename
group_prefs_t _prefs

Detailed Description

Definition at line 29 of file group-prefs.h.


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

Generated by  Doxygen 1.6.0   Back to index