38 lines
1.1 KiB
XML
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">
|
|
<!--
|
|
Selects a product.
|
|
-->
|
|
<method name="SelectProduct">
|
|
<!--
|
|
Product ID. See #AvailableProducts.
|
|
-->
|
|
<arg name="id" direction="in" type="s"/>
|
|
<!--
|
|
Result code and description.
|
|
|
|
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
|
|
-->
|
|
<arg name="result" direction="out" type="(us)"/>
|
|
</method>
|
|
<!--
|
|
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"/>
|
|
<!--
|
|
ID of the currently selected product.
|
|
-->
|
|
<property type="s" name="SelectedProduct" access="read"/>
|
|
</interface>
|
|
</node>
|