aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-06-25 14:34:03 -0500
committerTed Gould <ted@gould.cx>2010-06-25 14:34:03 -0500
commita46a27a598890cd49f67b076866fc6b4b6042485 (patch)
tree17ad083f44baa56a2ee061db40b665f51db8f46b /src
parent20f0c1d8e534fc1b1d0824baa2aa5464d2b0f998 (diff)
downloadlibayatana-appindicator-a46a27a598890cd49f67b076866fc6b4b6042485.tar.gz
libayatana-appindicator-a46a27a598890cd49f67b076866fc6b4b6042485.tar.bz2
libayatana-appindicator-a46a27a598890cd49f67b076866fc6b4b6042485.zip
Adding an approver interface.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/notification-approver.xml22
2 files changed, 23 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 787ba2f..68be1c0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -116,6 +116,7 @@ libappindicator_la_LIBADD = \
DBUS_SPECS = \
dbus-properties.xml \
application-service.xml \
+ notification-approver.xml \
notification-item.xml \
notification-watcher.xml
diff --git a/src/notification-approver.xml b/src/notification-approver.xml
new file mode 100644
index 0000000..e7ba780
--- /dev/null
+++ b/src/notification-approver.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+ <interface name="org.ayatana.StatusNotifierApprover">
+
+<!-- Methods -->
+ <method name="ApproveItem">
+ <!-- KSNI ID -->
+ <arg type="s" name="id" direction="in" />
+ <!-- KSNI Category -->
+ <arg type="s" name="category" direction="in" />
+ <!-- Application PID -->
+ <arg type="u" name="pid" direction="in" />
+ <!-- Application DBus Address -->
+ <arg type="s" name="address" direction="in" />
+ <!-- Application DBus Path for KSNI interface -->
+ <arg type="o" name="path" direction="in" />
+ <!-- So, what do you think? -->
+ <arg type="s" name="approved" direction="out" />
+ </method>
+
+ </interface>
+</node>