aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-28 14:52:08 -0500
committerTed Gould <ted@canonical.com>2009-10-28 14:52:08 -0500
commitec8cd6885a17a2a03fc65c89f6e10f3da42b59de (patch)
treeda5047cbf49a7743333119803e7c0c5c8306f7c4
parentb6d06cac56a71c099084a5e37ed28961a37e66d3 (diff)
downloadayatana-indicator-application-ec8cd6885a17a2a03fc65c89f6e10f3da42b59de.tar.gz
ayatana-indicator-application-ec8cd6885a17a2a03fc65c89f6e10f3da42b59de.tar.bz2
ayatana-indicator-application-ec8cd6885a17a2a03fc65c89f6e10f3da42b59de.zip
Adding the custom-service interface.
-rw-r--r--.bzrignore2
-rw-r--r--src/Makefile.am1
-rw-r--r--src/custom-service.xml24
3 files changed, 27 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 7121e6e..f41b607 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -24,3 +24,5 @@ tests/test-libcustomindicator-dbus-client
tests/test-libcustomindicator-dbus-server
tests/libcustomindicator-tests
tests/test-libcustomindicator-dbus
+src/custom-service-client.h
+src/custom-service-server.h
diff --git a/src/Makefile.am b/src/Makefile.am
index ff5b26e..aace163 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -82,6 +82,7 @@ libcustomindicator_la_LIBADD = \
##################################
DBUS_SPECS = \
+ custom-service.xml \
notification-item.xml \
notification-watcher.xml
diff --git a/src/custom-service.xml b/src/custom-service.xml
new file mode 100644
index 0000000..3d943a2
--- /dev/null
+++ b/src/custom-service.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+ <interface name="org.ayatana.indicator.custom.service">
+<!-- Properties -->
+ <!-- None currently -->
+
+<!-- Methods -->
+ <method name="GetApplications">
+ <arg type="a(siso)" name="applications" direction="out" />
+ </method>
+
+<!-- Signals -->
+ <signal name="ApplicationAdded">
+ <arg type="s" name="iconname" direction="out" />
+ <arg type="i" name="position" direction="out" />
+ <arg type="s" name="dbusaddress" direction="out" />
+ <arg type="o" name="dbusobject" direction="out" />
+ </signal>
+ <signal name="ApplicationRemoved">
+ <arg type="i" name="position" direction="out" />
+ </signal>
+
+ </interface>
+</node>