diff options
author | Ted Gould <ted@canonical.com> | 2009-10-28 14:52:08 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-28 14:52:08 -0500 |
commit | ec8cd6885a17a2a03fc65c89f6e10f3da42b59de (patch) | |
tree | da5047cbf49a7743333119803e7c0c5c8306f7c4 | |
parent | b6d06cac56a71c099084a5e37ed28961a37e66d3 (diff) | |
download | libayatana-appindicator-ec8cd6885a17a2a03fc65c89f6e10f3da42b59de.tar.gz libayatana-appindicator-ec8cd6885a17a2a03fc65c89f6e10f3da42b59de.tar.bz2 libayatana-appindicator-ec8cd6885a17a2a03fc65c89f6e10f3da42b59de.zip |
Adding the custom-service interface.
-rw-r--r-- | .bzrignore | 2 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/custom-service.xml | 24 |
3 files changed, 27 insertions, 0 deletions
@@ -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> |