agama/doc/dbus/bus/org.opensuse.Agama1.Questions.bus.xml
Martin Vidner 1a8cc8b73a Updated doc/dbus/bus/*.bus.xml
by running seed.sh in a testing_using_container.sh container

Really should do it more often (automatically) as it nicely detects
these API changes (commits found manually by me)

69ef2a0cda Manager.CollectLogs
c1f640e7f0 LocaleMixin
1860819faa Progress.Steps
69019564c9 Software1.ListRepositories
c37c01a9f0 Software1.SetUserPatterns
75f70d8b9c Software1.ProbeFinished
f29f4ab78a Issues.All
f29f4ab78a Locale.ListTimezones
2025-04-13 16:30:42 +02:00

134 lines
5.1 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.ObjectManager">
<!--
The return value of this method is a dict whose keys are object paths. All returned object
paths are children of the object path implementing this interface, i.e. their object paths
start with the ObjectManager's object path plus '/'.
Each value is a dict whose keys are interfaces names. Each value in this inner dict is the
same dict that would be returned by the org.freedesktop.DBus.Properties.GetAll() method for
that combination of object path and interface. If an interface has no properties, the empty
dict is returned.
-->
<method name="GetManagedObjects">
<arg type="a{oa{sa{sv}}}" direction="out"/>
</method>
<!--
This signal is emitted when either a new object is added or when an existing object gains
one or more interfaces. The `interfaces_and_properties` argument contains a map with the
interfaces and properties (if any) that have been added to the given object path.
-->
<signal name="InterfacesAdded">
<arg name="object_path" type="o"/>
<arg name="interfaces_and_properties" type="a{sa{sv}}"/>
</signal>
<!--
This signal is emitted whenever an object is removed or it loses one or more interfaces.
The `interfaces` parameters contains a list of the interfaces that were removed.
-->
<signal name="InterfacesRemoved">
<arg name="object_path" type="o"/>
<arg name="interfaces" type="as"/>
</signal>
</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">
<!--
creates new generic question without answer
-->
<method name="New">
<arg name="class" type="s" direction="in"/>
<arg name="text" type="s" direction="in"/>
<arg name="options" type="as" direction="in"/>
<arg name="default_option" type="s" direction="in"/>
<arg name="data" type="a{ss}" direction="in"/>
<arg type="o" direction="out"/>
</method>
<!--
creates new specialized luks activation question without answer and password
-->
<method name="NewWithPassword">
<arg name="class" type="s" direction="in"/>
<arg name="text" type="s" direction="in"/>
<arg name="options" type="as" direction="in"/>
<arg name="default_option" type="s" direction="in"/>
<arg name="data" type="a{ss}" direction="in"/>
<arg type="o" direction="out"/>
</method>
<!--
Removes question at given object path
TODO: use id as parameter ( need at first check other users of method )
-->
<method name="Delete">
<arg name="question" type="o" direction="in"/>
</method>
<method name="AddAnswerFile">
<arg name="path" type="s" direction="in"/>
</method>
<!--
property that defines if questions is interactive or automatically answered with
default answer
-->
<property name="Interactive" type="b" access="readwrite"/>
</interface>
</node>