aboutsummaryrefslogtreecommitdiff
path: root/config-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'config-file.h')
-rw-r--r--config-file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config-file.h b/config-file.h
index d972a44a6c..eee4cfde59 100644
--- a/config-file.h
+++ b/config-file.h
@@ -31,8 +31,12 @@ public:
~Config ();
const char *get(const char *key, const char *dom = 0) const;
const int getInt(const char *key, int def = 0, const char *dom = 0) const;
+ const bool getBool(const char *key, bool def = false, const char *dom = 0) const;
+
const char *set(const char *key, const char *value, const char *dom = 0);
const char *set(const char *key, int value, const char *dom = 0);
+ const char *set(const char *key, bool value, const char *dom = 0);
+
void set_domain(const char *);
void flush() const;
void rename_domain(const char *);