aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-watcher.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-06-25 14:43:16 -0500
committerTed Gould <ted@gould.cx>2010-06-25 14:43:16 -0500
commit6cf35d78ab649d06cc3d74710e8d06b22871ebb1 (patch)
treecbaf7ca8dee23a25513ac2f3dd6c8b9e32f8a60d /src/application-service-watcher.c
parent4c9f4340d8ba171ed3c6edf2cbaf8de498e4493d (diff)
downloadayatana-indicator-application-6cf35d78ab649d06cc3d74710e8d06b22871ebb1.tar.gz
ayatana-indicator-application-6cf35d78ab649d06cc3d74710e8d06b22871ebb1.tar.bz2
ayatana-indicator-application-6cf35d78ab649d06cc3d74710e8d06b22871ebb1.zip
Adding in a template function to register approvers.
Diffstat (limited to 'src/application-service-watcher.c')
-rw-r--r--src/application-service-watcher.c8
1 files changed, 8 insertions, 0 deletions
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;
+}