summaryrefslogtreecommitdiffstats
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-11-27 14:51:20 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-11-30 09:59:34 +0100
commit4e950130407ba729a5adcaf29192033cb28e57c3 (patch)
treef4bb5dcf2f938e6a265b95aaf9c95fb0057a4c3a /gdbus/gdbus.h
parent2e9bea7af60b060b3774169b1e03bfa6434e988a (diff)
downloadofono-4e950130407ba729a5adcaf29192033cb28e57c3.tar.bz2
gdbus: Add g_dbus_add_properties_watch function
Convenient function to create watches for D-Bus properties.
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r--gdbus/gdbus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 6aafc615..dd21f866 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -243,6 +243,11 @@ guint g_dbus_add_signal_watch(DBusConnection *connection,
const char *interface, const char *member,
GDBusSignalFunction function, void *user_data,
GDBusDestroyFunction destroy);
+guint g_dbus_add_properties_watch(DBusConnection *connection,
+ const char *sender, const char *path,
+ const char *interface,
+ GDBusSignalFunction function, void *user_data,
+ GDBusDestroyFunction destroy);
gboolean g_dbus_remove_watch(DBusConnection *connection, guint tag);
void g_dbus_remove_all_watches(DBusConnection *connection);