dbus: add authoritative XML for GameCenter1/Runner1

This commit is contained in:
Marco Allegretti 2026-02-15 13:54:48 +01:00
parent 9cda4ce476
commit c0938aa62a
2 changed files with 176 additions and 0 deletions

View file

@ -0,0 +1,63 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.kde.GameCenter1">
<method name="Ping">
<arg name="out" type="s" direction="out"/>
</method>
<method name="Version">
<arg name="major" type="u" direction="out"/>
<arg name="minor" type="u" direction="out"/>
</method>
<method name="GetCapabilities">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="caps" type="a{sv}" direction="out"/>
</method>
<method name="ListSessions">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantList"/>
<arg name="sessions" type="av" direction="out"/>
</method>
<method name="GetSession">
<arg name="sessionId" type="s" direction="in"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="session" type="a{sv}" direction="out"/>
</method>
<method name="Launch">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<arg name="launchSpec" type="a{sv}" direction="in"/>
<arg name="sessionId" type="s" direction="out"/>
</method>
<method name="Stop">
<arg name="sessionId" type="s" direction="in"/>
</method>
<method name="StopByGameId">
<arg name="gameId" type="s" direction="in"/>
</method>
<method name="SetPolicy">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<arg name="policy" type="a{sv}" direction="in"/>
</method>
<method name="GetPolicy">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="policy" type="a{sv}" direction="out"/>
</method>
<signal name="SessionAdded">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="session" type="a{sv}"/>
</signal>
<signal name="SessionChanged">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="session" type="a{sv}"/>
</signal>
<signal name="SessionRemoved">
<arg name="sessionId" type="s"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
<arg name="finalState" type="a{sv}"/>
</signal>
<signal name="LaunchFailed">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="error" type="a{sv}"/>
</signal>
</interface>
</node>

View file

@ -0,0 +1,113 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.kde.ALaKarte.Runner1">
<method name="Ping">
<arg name="out" type="s" direction="out"/>
</method>
<method name="Version">
<arg name="major" type="u" direction="out"/>
<arg name="minor" type="u" direction="out"/>
</method>
<method name="ListRunners">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantList"/>
<arg name="runners" type="av" direction="out"/>
</method>
<method name="Rescan">
<arg name="ok" type="b" direction="out"/>
</method>
<method name="RegisterRunner">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<arg name="runner" type="a{sv}" direction="in"/>
<arg name="ok" type="b" direction="out"/>
</method>
<method name="UnregisterRunner">
<arg name="runnerId" type="s" direction="in"/>
<arg name="ok" type="b" direction="out"/>
</method>
<method name="InstallRunnerFromArchive">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="spec" type="a{sv}" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="InstallRunnerFromUrl">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="spec" type="a{sv}" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="UninstallRunner">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="runnerId" type="s" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="CancelInstall">
<arg name="installId" type="s" direction="in"/>
<arg name="ok" type="b" direction="out"/>
</method>
<method name="EnsurePrefix">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="spec" type="a{sv}" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="DeletePrefix">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="spec" type="a{sv}" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="ResolveLaunch">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="spec" type="a{sv}" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="GetGameProfile">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="gameId" type="s" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="SetGameProfile">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="spec" type="a{sv}" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="ClearGameProfile">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
<arg name="gameId" type="s" direction="in"/>
<arg name="result" type="a{sv}" direction="out"/>
</method>
<method name="ListGameProfiles">
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantList"/>
<arg name="profiles" type="av" direction="out"/>
</method>
<signal name="InstallStarted">
<arg name="installId" type="s"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
<arg name="spec" type="a{sv}"/>
</signal>
<signal name="InstallProgress">
<arg name="installId" type="s"/>
<arg name="receivedBytes" type="x"/>
<arg name="totalBytes" type="x"/>
</signal>
<signal name="InstallFinished">
<arg name="installId" type="s"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
<arg name="result" type="a{sv}"/>
</signal>
<signal name="GameProfilesChanged"/>
</interface>
</node>