agama/doc/dbus/bus/org.opensuse.Agama1.Questions.bus.xml
2023-08-31 11:45:56 +01:00

99 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.ObjectManager">
<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">
<method name="Ping">
</method>
<method name="GetMachineId">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<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>
<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>
<method name="GetAll">
<arg name="interface_name" type="s" direction="in"/>
<arg type="a{sv}" direction="out"/>
</method>
<!--
Emits 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
-->
<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>