contracts/dbus/org.archipelago.System1.xml

68 lines
8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- RFC-0012 v1.1 / RFC-0013 v1.0. Contract surface, not a capability claim.
Dictionaries follow the normative field schemas in those RFCs.
Used by gdbus-codegen and qdbusxml2cpp; never add generic Execute. -->
<node name="/org/archipelago/System1">
<interface name="org.archipelago.System1.Manager">
<method name="GetCapabilities"><arg name="capabilities" type="a{sv}" direction="out"/></method>
<method name="GetStatus"><arg name="status" type="a{sv}" direction="out"/></method>
<method name="GetKernelArguments"><arg name="arguments" type="a{sv}" direction="out"/></method>
<method name="ChangeKernelArguments"><annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QList&lt;QVariantMap&gt;"/><arg name="changes" type="aa{sv}" direction="in"/><arg name="context_id" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="Refresh"><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="GetUpdateDetails"><arg name="target" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="PrepareUpdate"><arg name="target" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="Download"><arg name="plan_id" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="Stage"><arg name="plan_id" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="GetTransaction"><arg name="operation_id" type="s" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="ListTransactions"><annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;QVariantMap&gt;"/><arg name="cursor" type="s" direction="in"/><arg name="limit" type="u" direction="in"/><arg name="records" type="aa{sv}" direction="out"/><arg name="next_cursor" type="s" direction="out"/></method>
<method name="ValidatePending"><arg name="deployment_id" type="s" direction="in"/><arg name="result" type="a{sv}" direction="out"/></method>
<property name="StatusRevision" type="t" access="read"/>
</interface>
<interface name="org.archipelago.System1.Transaction">
<method name="Cancel"><arg name="options" type="a{sv}" direction="in"/><arg name="accepted" type="b" direction="out"/></method>
<method name="GetSnapshot"><arg name="snapshot" type="a{sv}" direction="out"/></method>
<method name="GetLog"><arg name="cursor" type="s" direction="in"/><arg name="limit" type="u" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="lines" type="as" direction="out"/><arg name="next_cursor" type="s" direction="out"/></method>
<property name="Id" type="s" access="read"/>
<property name="RequestId" type="s" access="read"/>
<property name="Kind" type="s" access="read"/>
<property name="State" type="s" access="read"/>
<property name="Phase" type="s" access="read"/>
<property name="Revision" type="t" access="read"/>
<property name="CreatedAtUsec" type="t" access="read"/>
<property name="UpdatedAtUsec" type="t" access="read"/>
<property name="RetainedUntilUsec" type="t" access="read"/>
<property name="PlanId" type="s" access="read"/>
<property name="Target" type="s" access="read"/>
<property name="Progress" type="a{sv}" access="read"/>
<property name="CanCancel" type="b" access="read"/>
<property name="CancelRequested" type="b" access="read"/>
<property name="Result" type="a{sv}" access="read"/>
<property name="Error" type="a{sv}" access="read"/>
<signal name="Finished"><arg name="state" type="s"/><arg name="result" type="a{sv}"/><arg name="error" type="a{sv}"/></signal>
</interface>
<node name="HostExtensions">
<interface name="org.archipelago.System1.HostExtensions">
<method name="GetState"><arg name="state" type="a{sv}" direction="out"/></method>
<method name="Search"><annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;QVariantMap&gt;"/><arg name="query" type="s" direction="in"/><arg name="filters" type="as" direction="in"/><arg name="cursor" type="s" direction="in"/><arg name="limit" type="u" direction="in"/><arg name="packages" type="aa{sv}" direction="out"/><arg name="next_cursor" type="s" direction="out"/><arg name="context_id" type="s" direction="out"/></method>
<method name="Resolve"><annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;QVariantMap&gt;"/><arg name="names" type="as" direction="in"/><arg name="context_id" type="s" direction="in"/><arg name="packages" type="aa{sv}" direction="out"/></method>
<method name="GetPackage"><arg name="package_id" type="s" direction="in"/><arg name="context_id" type="s" direction="in"/><arg name="package" type="a{sv}" direction="out"/></method>
<method name="GetHistory"><annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;QVariantMap&gt;"/><arg name="cursor" type="s" direction="in"/><arg name="limit" type="u" direction="in"/><arg name="generations" type="aa{sv}" direction="out"/><arg name="next_cursor" type="s" direction="out"/></method>
<method name="RefreshCatalog"><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="PrepareEnable"><arg name="enabled" type="b" direction="in"/><arg name="context_id" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="ImportPackage"><annotation name="org.gtk.GDBus.C.UnixFD" value="true"/><arg name="fd" type="h" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="PrepareChange"><annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QList&lt;QVariantMap&gt;"/><arg name="requests" type="aa{sv}" direction="in"/><arg name="context_id" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="PrepareRestore"><arg name="generation_id" type="s" direction="in"/><arg name="context_id" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<property name="Revision" type="t" access="read"/>
</interface>
</node>
<node name="ManagedOverlays">
<interface name="org.archipelago.System1.ManagedOverlays">
<method name="GetState"><arg name="state" type="a{sv}" direction="out"/></method>
<method name="ListAvailable"><annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;QVariantMap&gt;"/><arg name="query" type="s" direction="in"/><arg name="cursor" type="s" direction="in"/><arg name="limit" type="u" direction="in"/><arg name="overlays" type="aa{sv}" direction="out"/><arg name="next_cursor" type="s" direction="out"/><arg name="context_id" type="s" direction="out"/></method>
<method name="GetOverlay"><arg name="overlay_id" type="s" direction="in"/><arg name="commit" type="s" direction="in"/><arg name="overlay" type="a{sv}" direction="out"/></method>
<method name="RefreshCatalog"><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<method name="PrepareSet"><annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QList&lt;QVariantMap&gt;"/><arg name="selection" type="aa{sv}" direction="in"/><arg name="context_id" type="s" direction="in"/><arg name="options" type="a{sv}" direction="in"/><arg name="transaction" type="o" direction="out"/></method>
<property name="Revision" type="t" access="read"/>
</interface>
</node>
</node>