summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-06-19 11:08:20 +0200
committerFabian Bumberger <fbumberger@rim.com>2014-07-01 11:00:04 +0200
commit1249c58af8d31fe13395dddf7c8572a5ff95016e (patch)
tree2d3fb410b072d372746e26c595b6c750d222d060 /src
parent7beb4375483f74cc5be501dbcd91c82a80178936 (diff)
Add Neard dbus xml interfaces
Change-Id: Ie3661fe2b35735e22613e1c7ce0a408652b69970 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/nfc/neard/org.neard.Adapter.xml26
-rw-r--r--src/nfc/neard/org.neard.Manager.xml39
2 files changed, 65 insertions, 0 deletions
diff --git a/src/nfc/neard/org.neard.Adapter.xml b/src/nfc/neard/org.neard.Adapter.xml
new file mode 100644
index 00000000..0697b5cd
--- /dev/null
+++ b/src/nfc/neard/org.neard.Adapter.xml
@@ -0,0 +1,26 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.neard.Adapter">
+ <method name="GetProperties">
+ <arg name="properties" type="a{sv}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
+ </method>
+ <method name="SetProperty">
+ <arg name="name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="in"/>
+ </method>
+ <method name="StartPollLoop">
+ <arg name="name" type="s" direction="in"/>
+ </method>
+ <method name="StopPollLoop">
+ </method>
+ <signal name="PropertyChanged">
+ <arg name="name" type="s"/>
+ <arg name="value" type="v"/>
+ </signal>
+ <signal name="TagFound"><arg name="address" type="o"/>
+ </signal>
+ <signal name="TagLost"><arg name="address" type="o"/>
+ </signal>
+ </interface>
+</node>
diff --git a/src/nfc/neard/org.neard.Manager.xml b/src/nfc/neard/org.neard.Manager.xml
new file mode 100644
index 00000000..068fc880
--- /dev/null
+++ b/src/nfc/neard/org.neard.Manager.xml
@@ -0,0 +1,39 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.neard.Manager">
+ <method name="GetProperties">
+ <arg name="properties" type="a{sv}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
+ </method>
+ <method name="SetProperty">
+ <arg name="name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="in"/>
+ </method>
+ <method name="RegisterHandoverAgent">
+ <arg name="path" type="o" direction="in"/>
+ <arg name="type" type="s" direction="in"/>
+ </method>
+ <method name="UnregisterHandoverAgent">
+ <arg name="path" type="o" direction="in"/>
+ <arg name="type" type="s" direction="in"/>
+ </method>
+ <method name="RegisterNDEFAgent">
+ <arg name="path" type="o" direction="in"/>
+ <arg name="type" type="s" direction="in"/>
+ </method>
+ <method name="UnregisterNDEFAgent">
+ <arg name="path" type="o" direction="in"/>
+ <arg name="type" type="s" direction="in"/>
+ </method>
+ <signal name="PropertyChanged">
+ <arg name="name" type="s"/>
+ <arg name="value" type="v"/>
+ </signal>
+ <signal name="AdapterAdded">
+ <arg name="adapter" type="o"/>
+ </signal>
+ <signal name="AdapterRemoved">
+ <arg name="adapter" type="o"/>
+ </signal>
+ </interface>
+</node>