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
103 lines
3.4 KiB
XML
103 lines
3.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<node name="/org/opensuse/Agama/Software1">
|
|
<node name="Product"/>
|
|
<node name="Proposal"/>
|
|
|
|
<interface name="org.opensuse.Agama.Software1">
|
|
<method name="ListRepositories">
|
|
<arg direction="out" name="Result" type="a(issssbb)"></arg>
|
|
</method>
|
|
|
|
<!--
|
|
ListPatterns:
|
|
@Filtered: Flag if all or filtered only patterns.
|
|
@Result: Result of search for patterns.
|
|
|
|
List available patterns.
|
|
|
|
Way how it is filtered
|
|
is internal details and basically it can change anytime.
|
|
Filtered patterns are the one to show users for selection.
|
|
For validation if patterns are valid, unfiltered should be used.
|
|
|
|
@Result is Map with pattern id as key and those values
|
|
1. category of pattern. Useful for grouping patterns if needed
|
|
2. description of pattern
|
|
3. path to icon on local system
|
|
4. summary of pattern
|
|
5. order value for sorting patterns
|
|
-->
|
|
<method name="ListPatterns">
|
|
<arg name="Filtered" direction="in" type="b"/>
|
|
<arg name="Result" direction="out" type="a{s(sssss)}"/>
|
|
</method>
|
|
<!--
|
|
AddPattern:
|
|
@id: Identifier of pattern.
|
|
@result: Returns false if pattern does not exist in current list of repositories. Otherwise it returns true.
|
|
|
|
Adds pattern to explicitelly selected ones.
|
|
-->
|
|
<method name="AddPattern">
|
|
<arg name="id" direction="in" type="s"/>
|
|
<arg name="result" direction="out" type="b"/>
|
|
</method>
|
|
<!--
|
|
RemovePattern:
|
|
@id: Identifier of pattern.
|
|
@result: Returns false if pattern does not exist in current list of repositories. Otherwise it returns true including case when pattern was not previously selected.
|
|
|
|
Removes pattern from explicit selection. It can still be installed as dependency.
|
|
-->
|
|
<method name="RemovePattern">
|
|
<arg name="id" direction="in" type="s"/>
|
|
<arg name="result" direction="out" type="b"/>
|
|
</method>
|
|
<!--
|
|
SetUserPatterns:
|
|
@add: patterns to add
|
|
@remove: patterns to remove
|
|
@wrong: Return list of non existing patterns.
|
|
|
|
Sets explicitly selected patterns.
|
|
|
|
Operation was basically cancelled if result is not empty.
|
|
-->
|
|
<method name="SetUserPatterns">
|
|
<arg name="add" direction="in" type="as"/>
|
|
<arg name="remove" direction="in" type="as"/>
|
|
<arg name="wrong" direction="out" type="as"/>
|
|
</method>
|
|
<method name="ProvisionsSelected">
|
|
<arg name="Provisions" direction="in" type="as"/>
|
|
<arg name="Result" direction="out" type="ab"/>
|
|
</method>
|
|
<method name="IsPackageInstalled">
|
|
<arg name="Name" direction="in" type="s"/>
|
|
<arg name="Result" direction="out" type="b"/>
|
|
</method>
|
|
<!--
|
|
IsPackageAvailable:
|
|
@name: Name of the package.
|
|
Whether a package is available for installation.
|
|
-->
|
|
<method name="IsPackageAvailable">
|
|
<arg name="name" direction="in" type="s"/>
|
|
<arg name="result" direction="out" type="b"/>
|
|
</method>
|
|
<method name="UsedDiskSpace">
|
|
<arg name="SpaceSize" direction="out" type="s"/>
|
|
</method>
|
|
<method name="Probe">
|
|
</method>
|
|
<method name="Propose">
|
|
</method>
|
|
<method name="Install">
|
|
</method>
|
|
<method name="Finish">
|
|
</method>
|
|
<signal name="ProbeFinished">
|
|
</signal>
|
|
<property type="a{sy}" name="SelectedPatterns" access="read"/>
|
|
</interface>
|
|
</node>
|