summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-06 00:35:43 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-06 00:35:43 (EDT)
commit0a2ccb6513e4db3adaa107f8a76d48eb1b711a8a (patch)
tree01ccc4b48abc29688445bc6ee8bebc29c9bd2f14 /src/config.h
parent56eb9f1b5347dc97bb2d37bfb3b80e6dd4981f3a (diff)
downloadmarquee-0a2ccb6513e4db3adaa107f8a76d48eb1b711a8a.zip
marquee-0a2ccb6513e4db3adaa107f8a76d48eb1b711a8a.tar.gz
marquee-0a2ccb6513e4db3adaa107f8a76d48eb1b711a8a.tar.bz2
mq_config_notify_*(): New functions
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 1f1fb67..3a28d9e 100644
--- a/src/config.h
+++ b/src/config.h
@@ -76,4 +76,20 @@ mq_config_set_string(MqConfig *config, const gchar *name, const gchar *value);
gboolean
mq_config_set(MqConfig *config, const gchar *name, const gchar *value);
+void
+mq_config_notify_boolean(MqConfig *config, const gchar *name,
+ MqConfigBooleanCallback callback, gpointer user_data);
+
+void
+mq_config_notify_integer(MqConfig *config, const gchar *name,
+ MqConfigIntegerCallback callback, gpointer user_data);
+
+void
+mq_config_notify_double(MqConfig *config, const gchar *name,
+ MqConfigDoubleCallback callback, gpointer user_data);
+
+void
+mq_config_notify_string(MqConfig *config, const gchar *name,
+ MqConfigStringCallback callback, gpointer user_data);
+
#endif