diff options
author | Akos PASZTORY <ext-akos.pasztory@nokia.com> | 2009-10-21 15:50:00 +0300 |
---|---|---|
committer | Akos PASZTORY <ext-akos.pasztory@nokia.com> | 2009-10-21 15:51:03 +0300 |
commit | 41979be8a30d92cc1d8b2575b3cced7885041379 (patch) | |
tree | 8bb95cecc028cb9b7acc7988f2fc5c76c2404d33 /spec | |
parent | b5836a894e9b5383b3080e6a777c3bda6b22fb90 (diff) |
added DBus interface descriptions
Diffstat (limited to 'spec')
-rw-r--r-- | spec/.gitignore | 2 | ||||
-rw-r--r-- | spec/introspect/Contextkit.xml | 19 | ||||
-rw-r--r-- | spec/introspect/Manager.xml | 14 | ||||
-rw-r--r-- | spec/introspect/Subscriber.xml | 18 |
4 files changed, 51 insertions, 2 deletions
diff --git a/spec/.gitignore b/spec/.gitignore index ac5b0381..719c6319 100644 --- a/spec/.gitignore +++ b/spec/.gitignore @@ -1,6 +1,4 @@ context.valid.stamp -introspect/ context-provider-schema.html context-properties.html contextkit.html - diff --git a/spec/introspect/Contextkit.xml b/spec/introspect/Contextkit.xml new file mode 100644 index 00000000..dba5aa79 --- /dev/null +++ b/spec/introspect/Contextkit.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/org/maemo/contextkit/Some/Property"> + <interface name="org.maemo.contextkit.Property"> + <method name="Subscribe"> + <arg name="value" type="av" direction="out"/> + <arg name="timestamp" type="t" direction="out"/> + </method> + <method name="Unsubscribe"/> + <method name="Get"> + <arg name="value" type="av" direction="out"/> + <arg name="timestamp" type="t" direction="out"/> + </method> + <signal name="Changed"> + <arg name="value" type="av"/> + <arg name="timestamp" type="t"/> + </signal> + </interface> +</node> diff --git a/spec/introspect/Manager.xml b/spec/introspect/Manager.xml new file mode 100644 index 00000000..8178c767 --- /dev/null +++ b/spec/introspect/Manager.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/"> + <interface name="org.freedesktop.ContextKit.Manager"> + <method name="Get"> + <arg name="keys" type="as" direction="in"/> + <arg name="values" type="a{sv}" direction="out"/> + <arg name="undeterminable_keys" type="as" direction="out"/> + </method> + <method name="GetSubscriber"> + <arg name="subscription_object" type="o" direction="out"/> + </method> + </interface> +</node> diff --git a/spec/introspect/Subscriber.xml b/spec/introspect/Subscriber.xml new file mode 100644 index 00000000..637ba79e --- /dev/null +++ b/spec/introspect/Subscriber.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/"> + <interface name="org.freedesktop.ContextKit.Subscriber"> + <method name="Subscribe"> + <arg name="keys" type="as" direction="in"/> + <arg name="values" type="a{sv}" direction="out"/> + <arg name="undeterminable_keys" type="as" direction="out"/> + </method> + <signal name="Changed"> + <arg name="values" type="a{sv}"/> + <arg name="undeterminable_keys" type="as"/> + </signal> + <method name="Unsubscribe"> + <arg name="keys" type="as" direction="in"/> + </method> + </interface> +</node> |