agama/doc/dbus/org.opensuse.Agama.Software1.Product.doc.xml
Martin Vidner c8c7f81be5 doc/dbus: fix the "markup" to render all what is documented
gdbus-codegen is picky about what it lets through.
You have to check that what you write actually gets rendered
in the resulting HTML

BTW there are remnants documenting an abandoned Agama.Network design:
TODO: remove it
https://github.com/search?q=repo%3Aagama-project%2Fagama+%2Forg.*Agama.*Network%2F&type=code
2025-04-13 19:08:20 +02:00

38 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node name="/org/opensuse/Agama/Software1/Product">
<interface name="org.opensuse.Agama.Software1.Product">
<!--
SelectProduct:
@id: Product ID. See #AvailableProducts.
@result: Result code and description.
Selects a product.
Possible result codes are:
# 0: successfully selected
# 1: given product is already selected
# 2: current product must be deregistered before selecting a new product
# 3: given product is unknown
-->
<method name="SelectProduct">
<arg name="id" direction="in" type="s"/>
<arg name="result" direction="out" type="(us)"/>
</method>
<!--
AvailableProducts:
Available products for installation.
For each product, it returns:
s (product ID)
s (product name)
a{sv}
description s
-->
<property type="a(ssa{sv})" name="AvailableProducts" access="read"/>
<!--
SelectedProduct:
ID of the currently selected product.
-->
<property type="s" name="SelectedProduct" access="read"/>
</interface>
</node>