diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-04 18:14:11 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-04 18:14:11 (EDT) |
commit | 2f6902ce85cab3f1fba0ad32b1e11707c4206f4c (patch) | |
tree | a0f060d2e22e1682345a970c6f0d2f62889ca2d0 /src/config.h | |
parent | 700e2658c496d0bdb241fa8a32708bd4b613a729 (diff) | |
download | marquee-2f6902ce85cab3f1fba0ad32b1e11707c4206f4c.zip marquee-2f6902ce85cab3f1fba0ad32b1e11707c4206f4c.tar.gz marquee-2f6902ce85cab3f1fba0ad32b1e11707c4206f4c.tar.bz2 |
src/config.[ch]: Support setting integer and double values
Also declare mq_config_set() in src/config.h.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index f7e285c..126e790 100644 --- a/src/config.h +++ b/src/config.h @@ -39,4 +39,13 @@ mq_config_new(const gchar *profile); void mq_config_set_boolean(MqConfig *config, const gchar *name, gboolean value); +void +mq_config_set_integer(MqConfig *config, const gchar *name, gint value); + +void +mq_config_set_double(MqConfig *config, const gchar *name, gdouble value); + +gboolean +mq_config_set(MqConfig *config, const gchar *name, const gchar *value); + #endif |