summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/api
diff options
context:
space:
mode:
Diffstat (limited to 'binding/gdbus/api')
-rw-r--r--binding/gdbus/api/client1.xml12
-rw-r--r--binding/gdbus/api/org.freedesktop.DBus.Properties.xml25
-rw-r--r--binding/gdbus/api/phonebookaccess1.xml45
-rw-r--r--binding/gdbus/api/session-dump.xml54
-rw-r--r--binding/gdbus/api/session1.xml13
-rw-r--r--binding/gdbus/api/transfer1.xml19
6 files changed, 168 insertions, 0 deletions
diff --git a/binding/gdbus/api/client1.xml b/binding/gdbus/api/client1.xml
new file mode 100644
index 0000000..1bbb1ee
--- /dev/null
+++ b/binding/gdbus/api/client1.xml
@@ -0,0 +1,12 @@
+<!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.bluez.obex.Client1">
+ <method name="CreateSession"><arg name="destination" type="s" direction="in"/>
+ <arg name="args" type="a{sv}" direction="in"/>
+ <arg name="session" type="o" direction="out"/>
+ </method>
+ <method name="RemoveSession"><arg name="session" type="o" direction="in"/>
+ </method>
+ </interface>
+</node>
diff --git a/binding/gdbus/api/org.freedesktop.DBus.Properties.xml b/binding/gdbus/api/org.freedesktop.DBus.Properties.xml
new file mode 100644
index 0000000..5d9c55f
--- /dev/null
+++ b/binding/gdbus/api/org.freedesktop.DBus.Properties.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!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.freedesktop.DBus.Properties">
+ <method name="Get">
+ <arg type="s" name="interface_name" direction="in"/>
+ <arg type="s" name="property_name" direction="in"/>
+ <arg type="v" name="value" direction="out"/>
+ </method>
+ <method name="GetAll">
+ <arg type="s" name="interface_name" direction="in"/>
+ <arg type="a{sv}" name="properties" direction="out"/>
+ </method>
+ <method name="Set">
+ <arg type="s" name="interface_name" direction="in"/>
+ <arg type="s" name="property_name" direction="in"/>
+ <arg type="v" name="value" direction="in"/>
+ </method>
+ <signal name="PropertiesChanged">
+ <arg type="s" name="interface_name"/>
+ <arg type="a{sv}" name="changed_properties"/>
+ <arg type="as" name="invalidated_properties"/>
+ </signal>
+ </interface>
+</node>
diff --git a/binding/gdbus/api/phonebookaccess1.xml b/binding/gdbus/api/phonebookaccess1.xml
new file mode 100644
index 0000000..ec2f5a8
--- /dev/null
+++ b/binding/gdbus/api/phonebookaccess1.xml
@@ -0,0 +1,45 @@
+<!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.bluez.obex.PhonebookAccess1">
+ <method name="Select">
+ <arg name="location" type="s" direction="in"/>
+ <arg name="phonebook" type="s" direction="in"/>
+ </method>
+ <method name="PullAll">
+ <arg name="targetfile" type="s" direction="in"/>
+ <arg name="filters" type="a{sv}" direction="in"/>
+ <arg name="transfer" type="o" direction="out"/>
+ <arg name="properties" type="a{sv}" direction="out"/>
+ </method>
+ <method name="Pull">
+ <arg name="vcard" type="s" direction="in"/>
+ <arg name="targetfile" type="s" direction="in"/>
+ <arg name="filters" type="a{sv}" direction="in"/>
+ <arg name="transfer" type="o" direction="out"/>
+ <arg name="properties" type="a{sv}" direction="out"/>
+ </method>
+ <method name="List">
+ <arg name="filters" type="a{sv}" direction="in"/>
+ <arg name="vcard_listing" type="a(ss)" direction="out"/>
+ </method>
+ <method name="Search">
+ <arg name="field" type="s" direction="in"/>
+ <arg name="value" type="s" direction="in"/>
+ <arg name="filters" type="a{sv}" direction="in"/>
+ <arg name="vcard_listing" type="a(ss)" direction="out"/>
+ </method>
+ <method name="GetSize">
+ <arg name="size" type="q" direction="out"/>
+ </method>
+ <method name="ListFilterFields">
+ <arg name="fields" type="as" direction="out"/>
+ </method>
+ <method name="UpdateVersion"></method>
+ <property name="Folder" type="s" access="read"></property>
+ <property name="DatabaseIdentifier" type="s" access="read"></property>
+ <property name="PrimaryCounter" type="s" access="read"></property>
+ <property name="SecondaryCounter" type="s" access="read"></property>
+ <property name="FixedImageSize" type="b" access="read"></property>
+ </interface>
+</node>
diff --git a/binding/gdbus/api/session-dump.xml b/binding/gdbus/api/session-dump.xml
new file mode 100644
index 0000000..1fcf7b8
--- /dev/null
+++ b/binding/gdbus/api/session-dump.xml
@@ -0,0 +1,54 @@
+('<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection '
+ '1.0//EN"\n'
+ '"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">\n'
+ '<node><interface name="org.freedesktop.DBus.Introspectable"><method '
+ 'name="Introspect"><arg name="xml" type="s" direction="out"/>\n'
+ '</method></interface><interface name="org.bluez.obex.Session1"><method '
+ 'name="GetCapabilities"><arg name="capabilities" type="s" direction="out"/>\n'
+ '</method><property name="Source" type="s" access="read"></property><property '
+ 'name="Destination" type="s" access="read"></property><property '
+ 'name="Channel" type="y" access="read"></property><property name="Target" '
+ 'type="s" access="read"></property></interface><interface '
+ 'name="org.freedesktop.DBus.Properties"><method name="Get"><arg '
+ 'name="interface" type="s" direction="in"/>\n'
+ '<arg name="name" type="s" direction="in"/>\n'
+ '<arg name="value" type="v" direction="out"/>\n'
+ '</method><method name="Set"><arg name="interface" type="s" direction="in"/>\n'
+ '<arg name="name" type="s" direction="in"/>\n'
+ '<arg name="value" type="v" direction="in"/>\n'
+ '</method><method name="GetAll"><arg name="interface" type="s" '
+ 'direction="in"/>\n'
+ '<arg name="properties" type="a{sv}" direction="out"/>\n'
+ '</method><signal name="PropertiesChanged"><arg name="interface" type="s"/>\n'
+ '<arg name="changed_properties" type="a{sv}"/>\n'
+ '<arg name="invalidated_properties" type="as"/>\n'
+ '</signal>\n'
+ '</interface><interface name="org.bluez.obex.PhonebookAccess1"><method '
+ 'name="Select"><arg name="location" type="s" direction="in"/>\n'
+ '<arg name="phonebook" type="s" direction="in"/>\n'
+ '</method><method name="PullAll"><arg name="targetfile" type="s" '
+ 'direction="in"/>\n'
+ '<arg name="filters" type="a{sv}" direction="in"/>\n'
+ '<arg name="transfer" type="o" direction="out"/>\n'
+ '<arg name="properties" type="a{sv}" direction="out"/>\n'
+ '</method><method name="Pull"><arg name="vcard" type="s" direction="in"/>\n'
+ '<arg name="targetfile" type="s" direction="in"/>\n'
+ '<arg name="filters" type="a{sv}" direction="in"/>\n'
+ '<arg name="transfer" type="o" direction="out"/>\n'
+ '<arg name="properties" type="a{sv}" direction="out"/>\n'
+ '</method><method name="List"><arg name="filters" type="a{sv}" '
+ 'direction="in"/>\n'
+ '<arg name="vcard_listing" type="a(ss)" direction="out"/>\n'
+ '</method><method name="Search"><arg name="field" type="s" direction="in"/>\n'
+ '<arg name="value" type="s" direction="in"/>\n'
+ '<arg name="filters" type="a{sv}" direction="in"/>\n'
+ '<arg name="vcard_listing" type="a(ss)" direction="out"/>\n'
+ '</method><method name="GetSize"><arg name="size" type="q" direction="out"/>\n'
+ '</method><method name="ListFilterFields"><arg name="fields" type="as" '
+ 'direction="out"/>\n'
+ '</method><method name="UpdateVersion"></method><property name="Folder" '
+ 'type="s" access="read"></property><property name="DatabaseIdentifier" '
+ 'type="s" access="read"></property><property name="PrimaryCounter" type="s" '
+ 'access="read"></property><property name="SecondaryCounter" type="s" '
+ 'access="read"></property><property name="FixedImageSize" type="b" '
+ 'access="read"></property></interface></node>')
diff --git a/binding/gdbus/api/session1.xml b/binding/gdbus/api/session1.xml
new file mode 100644
index 0000000..69457ef
--- /dev/null
+++ b/binding/gdbus/api/session1.xml
@@ -0,0 +1,13 @@
+<!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.bluez.obex.Session1">
+ <method name="GetCapabilities">
+ <arg name="capabilities" type="s" direction="out"/>
+ </method>
+ <property name="Source" type="s" access="read"></property>
+ <property name="Destination" type="s" access="read"></property>
+ <property name="Channel" type="y" access="read"></property>
+ <property name="Target" type="s" access="read"></property>
+ </interface>
+</node>
diff --git a/binding/gdbus/api/transfer1.xml b/binding/gdbus/api/transfer1.xml
new file mode 100644
index 0000000..b1a5e99
--- /dev/null
+++ b/binding/gdbus/api/transfer1.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>
+ <interface name="org.bluez.obex.Transfer1">
+ <method name="Cancel" />
+ <method name="Suspend" />
+ <method name="Resume" />
+<!--
+ <property name="Status" type="s" access="read" />
+ <property name="Session" type="o" access="read" />
+ <property name="Name" type="s" access="read" />
+ <property name="Type" type="s" access="read" />
+ <property name="Time" type="t" access="read" />
+ <property name="Size" type="t" access="read" />
+ <property name="Transferred" type="t" access="read" />
+ <property name="Filename" type="s" access="read" />
+-->
+ </interface>
+</node>