aboutsummaryrefslogtreecommitdiff
path: root/common/com.canonical.indicator.messages.service.xml
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-11-13 13:32:15 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-11-13 13:32:15 +0100
commitef6b3b8daaef62a502c60e0faa22c3a4b10c0399 (patch)
treecccabb0cb11481dfee6fd292fe2e56c63c5d3140 /common/com.canonical.indicator.messages.service.xml
parentb2c1e66e48d69199ba5d5cc607f47d695919a140 (diff)
downloadayatana-indicator-messages-ef6b3b8daaef62a502c60e0faa22c3a4b10c0399.tar.gz
ayatana-indicator-messages-ef6b3b8daaef62a502c60e0faa22c3a4b10c0399.tar.bz2
ayatana-indicator-messages-ef6b3b8daaef62a502c60e0faa22c3a4b10c0399.zip
Move service .xml into a common directory
Both the service (in src/) and the client library (in libmessaging-menu/) need access to the dbus interface description file. Until now, it resided in src, with both Makefiles calling gdbus-codegen on it. This patch moves the file to common/ and builds a convenience library that contains only the generated code.
Diffstat (limited to 'common/com.canonical.indicator.messages.service.xml')
-rw-r--r--common/com.canonical.indicator.messages.service.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/common/com.canonical.indicator.messages.service.xml b/common/com.canonical.indicator.messages.service.xml
new file mode 100644
index 0000000..00ae154
--- /dev/null
+++ b/common/com.canonical.indicator.messages.service.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+ <interface name="com.canonical.indicator.messages.service">
+
+ <method name="RegisterApplication">
+ <arg type="s" name="desktop_id" direction="in" />
+ <arg type="o" name="menu_path" direction="in" />
+ </method>
+
+ <method name="UnregisterApplication">
+ <arg type="s" name="desktop_id" direction="in" />
+ </method>
+
+ <method name="SetStatus">
+ <arg type="s" name="desktop_id" direction="in" />
+ <arg type="s" name="status" direction="in" />
+ </method>
+
+ <signal name="StatusChanged">
+ <arg type="s" name="status" direction="in" />
+ </signal>
+
+ </interface>
+</node>