aboutsummaryrefslogtreecommitdiff
path: root/src/status-service.xml
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-12 16:20:47 -0500
committerTed Gould <ted@canonical.com>2009-06-12 16:20:47 -0500
commitd9116a6713e4a7d5bdbf10ba96fc3d34caf4f5eb (patch)
tree82245ab9e74957af8293a226bdec197c20cf46b9 /src/status-service.xml
parent922ee2a93ffaebb430d406d787abeb4687657b73 (diff)
downloadayatana-indicator-session-d9116a6713e4a7d5bdbf10ba96fc3d34caf4f5eb.tar.gz
ayatana-indicator-session-d9116a6713e4a7d5bdbf10ba96fc3d34caf4f5eb.tar.bz2
ayatana-indicator-session-d9116a6713e4a7d5bdbf10ba96fc3d34caf4f5eb.zip
Adding a DBus interface for the status specific stuff
Diffstat (limited to 'src/status-service.xml')
-rw-r--r--src/status-service.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/status-service.xml b/src/status-service.xml
new file mode 100644
index 0000000..189df81
--- /dev/null
+++ b/src/status-service.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+ <interface name="com.ubuntu.indicator.status">
+
+<!-- Properties -->
+ <property name="user" type="s" access="read" />
+ <property name="status" type="u" access="read" />
+
+<!-- Methods -->
+ <method name="Watch">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
+ </method>
+
+<!-- Signals -->
+ <signal name="UserChanged">
+ <arg type="s" name="name" direction="out" />
+ </signal>
+ <signal name="StatusChanged">
+ <arg type="u" name="status" direction="out" />
+ </signal>
+
+ </interface>
+</node>