Allow to define an Introspectable interface in XML files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/12/head
Slávek Banko 1 year ago
parent 65f7663b4c
commit c6b84c6ed2
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,13 +1,11 @@
<?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.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out"/>
</method>
</interface>
-->
<interface name="org.bluez.MediaPlayer1">
<method name="Play"/>
<method name="Pause"/>

@ -1,13 +1,11 @@
<!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.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out" />
</method>
</interface>
-->
<interface name="org.bluez.Adapter1">
<method name="StartDiscovery"></method>
<method name="SetDiscoveryFilter">
@ -85,4 +83,4 @@
<arg name="uuid" type="s" direction="in" />
</method>
</interface>
</node>
</node>

@ -1,12 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<node>
<!--
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out" />
</method>
</interface>
-->
<interface name="org.bluez.Device1">
<method name="Disconnect">
<annotation name="org.freedesktop.DBus.GLib.Async"/>
@ -109,4 +107,4 @@
<property name="Connected" type="b" access="read"></property>
<property name="Player" type="o" access="read"></property>
</interface>
</node>
</node>

@ -1,13 +1,11 @@
<!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.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out" />
</method>
</interface>
-->
<interface name="org.bluez.AgentManager1">
<method name="RegisterAgent">
<arg name="agent" type="o" direction="in" />
@ -40,4 +38,4 @@
</method>
</interface>
<node name="hci0" />
</node>
</node>

@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://github.com/r10r/bluez/blob/master/doc/obex-agent-api.txt -->
<node name="/org/trinitydesktop/tdeobex">
<!-- <interface name="org.freedesktop.DBus.Introspectable">
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out"/>
</method>
</interface>
-->
<interface name="org.bluez.obex.Agent1">
<method name="Release">
<annotation name="org.freedesktop.DBus.GLib.Async"/>

@ -2,13 +2,11 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
<node name="/org/bluez/obex">
<!--
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out"/>
</method>
</interface>
-->
<interface name="org.bluez.obex.AgentManager1">
<method name="RegisterAgent">
<arg name="agent" type="o" direction="in" />
@ -198,4 +196,4 @@
<arg name="invalidated_properties" type="as" />
</signal>
</interface>
</node>
</node>

@ -1,13 +1,11 @@
<!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.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out" />
</method>
</interface>
-->
<interface name="org.freedesktop.DBus.ObjectManager">
<method name="GetManagedObjects">
<arg name="objects" type="a{oa{sa{sv}}}" direction="out" />
@ -21,4 +19,4 @@
<arg name="interfaces" type="as" />
</signal>
</interface>
</node>
</node>

@ -1,12 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<node name="/org/trinitydesktop/tdebluez">
<!-- The Introspectable Interface gets autogenerated
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out"/>
</method>
</interface>
-->
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="xml" type="s" direction="out" />
</method>
</interface>
<interface name="org.bluez.Agent1">
<method name="Release">
</method>

Loading…
Cancel
Save