X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fconf.hpp;h=62beef53d302bc510ac18f70bd44c9ab8b485029;hb=HEAD;hp=be47fce0abef59c20ef5275408b83cfe7fe7ece5;hpb=ea60e415d221d363d9a0c3ba4ac15ddc7d606bbc;p=mstardict diff --git a/src/conf.hpp b/src/conf.hpp index be47fce..62beef5 100644 --- a/src/conf.hpp +++ b/src/conf.hpp @@ -28,6 +28,18 @@ class Conf { Conf(); ~Conf(); + bool GetBool(const gchar *key, + bool *val); + bool SetBool(const gchar *key, + bool val); + bool GetInt(const gchar *key, + int *val); + bool SetInt(const gchar *key, + int val); + bool GetString(const gchar *key, + gchar **val); + bool SetString(const gchar *key, + const gchar *val); bool GetStringList(const gchar *key, std::list < std::string > &list); bool SetStringList(const gchar *key,