aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-06 22:50:48 -0600
committerTed Gould <ted@canonical.com>2009-11-06 22:50:48 -0600
commitffd996217a130a5252ca804c506205bbbbadef3a (patch)
tree97a3eed32ebefae257cb4dde5de3fc17136fa7d6
parent4bcfbf41887d4b597cf727ed23e4d59946ff7666 (diff)
downloadlibayatana-appindicator-ffd996217a130a5252ca804c506205bbbbadef3a.tar.gz
libayatana-appindicator-ffd996217a130a5252ca804c506205bbbbadef3a.tar.bz2
libayatana-appindicator-ffd996217a130a5252ca804c506205bbbbadef3a.zip
Adding some XML for dbus properties interface.
-rw-r--r--.bzrignore2
-rw-r--r--src/Makefile.am2
-rw-r--r--src/dbus-properties.xml23
3 files changed, 27 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 2942d56..4d5f1b0 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -29,3 +29,5 @@ src/custom-service-server.h
src/custom-service-marshal.c
src/custom-service-marshal.h
src/stamp-marshal
+src/dbus-properties-client.h
+src/dbus-properties-server.h
diff --git a/src/Makefile.am b/src/Makefile.am
index fa0137f..21d7cf8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -39,6 +39,7 @@ indicator_custom_service_SOURCES = \
custom-service-server.h \
custom-service-watcher.h \
custom-service-watcher.c \
+ dbus-properties-client.h \
dbus-shared.h \
notification-item-client.h \
notification-watcher-server.h
@@ -96,6 +97,7 @@ libcustomindicator_la_LIBADD = \
DBUS_SPECS = \
custom-service.xml \
+ dbus-properties.xml \
notification-item.xml \
notification-watcher.xml
diff --git a/src/dbus-properties.xml b/src/dbus-properties.xml
new file mode 100644
index 0000000..c172895
--- /dev/null
+++ b/src/dbus-properties.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+ <interface name="org.freedesktop.DBus.Properties">
+
+ <method name="Get">
+ <arg direction="in" type="s" name="Interface_Name"/>
+ <arg direction="in" type="s" name="Property_Name"/>
+ <arg direction="out" type="v" name="Value"/>
+ </method>
+
+ <method name="Set">
+ <arg direction="in" type="s" name="Interface_Name"/>
+ <arg direction="in" type="s" name="Property_Name"/>
+ <arg direction="in" type="v" name="Value"/>
+ </method>
+
+ <method name="GetAll">
+ <arg direction="in" type="s" name="Interface_Name"/>
+ <arg direction="out" type="a{sv}" name="Properties"/>
+ </method>
+
+ </interface>
+</node>