aboutsummaryrefslogtreecommitdiff
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
parent20f0c1d8e534fc1b1d0824baa2aa5464d2b0f998 (diff)
downloadlibayatana-appindicator-a46a27a598890cd49f67b076866fc6b4b6042485.tar.gz
libayatana-appindicator-a46a27a598890cd49f67b076866fc6b4b6042485.tar.bz2
libayatana-appindicator-a46a27a598890cd49f67b076866fc6b4b6042485.zip
Adding an approver interface.
-rw-r--r--.bzrignore2
-rw-r--r--src/Makefile.am1
-rw-r--r--src/notification-approver.xml22
3 files changed, 25 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index c044203..0d82d3e 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -107,3 +107,5 @@ docs/reference/libappindicator-decl.txt.bak
docs/reference/libappindicator-decl-list.txt.bak
src/AppIndicator-0.1.vapi
bindings/mono/policy.appindicator-sharp.dll
+src/notification-approver-client.h
+src/notification-approver-server.h
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>