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">

@ -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"/>

@ -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" />

@ -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" />

@ -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" />

@ -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"/>
<arg name="xml" type="s" direction="out" />
</method>
</interface>
-->
<interface name="org.bluez.Agent1">
<method name="Release">
</method>

Loading…
Cancel
Save