From 4c9f4340d8ba171ed3c6edf2cbaf8de498e4493d Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 25 Jun 2010 14:38:21 -0500 Subject: Adding a function to register an approver. --- src/notification-watcher.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/notification-watcher.xml') diff --git a/src/notification-watcher.xml b/src/notification-watcher.xml index c2324f1..06a7785 100644 --- a/src/notification-watcher.xml +++ b/src/notification-watcher.xml @@ -22,6 +22,12 @@ + + + + + + -- cgit v1.2.3 From 6cf35d78ab649d06cc3d74710e8d06b22871ebb1 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 25 Jun 2010 14:43:16 -0500 Subject: Adding in a template function to register approvers. --- src/application-service-watcher.c | 8 ++++++++ src/notification-watcher.xml | 1 + 2 files changed, 9 insertions(+) (limited to 'src/notification-watcher.xml') diff --git a/src/application-service-watcher.c b/src/application-service-watcher.c index eff249d..844585d 100644 --- a/src/application-service-watcher.c +++ b/src/application-service-watcher.c @@ -34,6 +34,7 @@ static gboolean _notification_watcher_server_register_status_notifier_item (Appl static gboolean _notification_watcher_server_registered_status_notifier_items (ApplicationServiceWatcher * appwatcher, GArray ** apps); static gboolean _notification_watcher_server_protocol_version (ApplicationServiceWatcher * appwatcher, char ** version); static gboolean _notification_watcher_server_register_notification_host (ApplicationServiceWatcher * appwatcher, const gchar * host); +static gboolean _notification_watcher_server_register_notification_approver (ApplicationServiceWatcher * appwatcher, const GValue * path, const GArray * categories, DBusGMethodInvocation * method); static gboolean _notification_watcher_server_is_notification_host_registered (ApplicationServiceWatcher * appwatcher, gboolean * haveHost); static void get_name_cb (DBusGProxy * proxy, guint status, GError * error, gpointer data); @@ -249,3 +250,10 @@ get_name_cb (DBusGProxy * proxy, guint status, GError * error, gpointer data) return; } + +static gboolean +_notification_watcher_server_register_notification_approver (ApplicationServiceWatcher * appwatcher, const GValue * path, const GArray * categories, DBusGMethodInvocation * method) +{ + + return FALSE; +} diff --git a/src/notification-watcher.xml b/src/notification-watcher.xml index 06a7785..cc7882d 100644 --- a/src/notification-watcher.xml +++ b/src/notification-watcher.xml @@ -23,6 +23,7 @@ + -- cgit v1.2.3