agama/doc/dbus/bus/org.opensuse.Agama1.Questions.Generic.bus.xml
Martin Vidner 49883aabee Inconsequential changes in introspection XML
These are the ones that do not change semantics:

- *.bus.xml now comes out with interfaces sorted by name
- zbus now adds comments for standard interfaces
2025-04-12 13:20:48 +02:00

72 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node>
<interface name="org.freedesktop.DBus.Introspectable">
<!--
Returns an XML description of the object, including its interfaces (with signals and
methods), objects below it in the object path tree, and its properties.
-->
<method name="Introspect">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Peer">
<!--
On receipt, an application should do nothing other than reply as usual. It does not matter
which object path a ping is sent to.
-->
<method name="Ping">
</method>
<!--
An application should reply the containing a hex-encoded UUID representing the identity of
the machine the process is running on. This UUID must be the same for all processes on a
single system at least until that system next reboots. It should be the same across reboots
if possible, but this is not always possible to implement and is not guaranteed. It does not
matter which object path a GetMachineId is sent to.
-->
<method name="GetMachineId">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<!--
Get a property value.
-->
<method name="Get">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg type="v" direction="out"/>
</method>
<!--
Set a property value.
-->
<method name="Set">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg name="value" type="v" direction="in"/>
</method>
<!--
Get all properties.
-->
<method name="GetAll">
<arg name="interface_name" type="s" direction="in"/>
<arg type="a{sv}" direction="out"/>
</method>
<!--
Emit the `org.freedesktop.DBus.Properties.PropertiesChanged` signal.
-->
<signal name="PropertiesChanged">
<arg name="interface_name" type="s"/>
<arg name="changed_properties" type="a{sv}"/>
<arg name="invalidated_properties" type="as"/>
</signal>
</interface>
<interface name="org.opensuse.Agama1.Questions.Generic">
<property name="Answer" type="s" access="readwrite"/>
<property name="Class" type="s" access="read"/>
<property name="Data" type="a{ss}" access="read"/>
<property name="DefaultOption" type="s" access="read"/>
<property name="Id" type="u" access="read"/>
<property name="Options" type="as" access="read"/>
<property name="Text" type="s" access="read"/>
</interface>
</node>