1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-22 07:54:18 +01:00

dbus: Fix qdbusxml2cpp unknown type warnings.

Add direction attributes to args where qdbusxml2cpp was looking for the
incorrect annotation.
This commit is contained in:
Jim Broadus 2021-04-19 15:27:12 -07:00 committed by John Maguire
parent c51d2f954e
commit f17b79a105
3 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@
</method> </method>
<signal name="InterfacesAdded"> <signal name="InterfacesAdded">
<arg name="object" type="o"/> <arg name="object" type="o"/>
<arg name="interfaces" type="a{sa{sv}}"/> <arg name="interfaces" type="a{sa{sv}}" direction="in"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="InterfacesAndProperties"/> <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="InterfacesAndProperties"/>
</signal> </signal>
<signal name="InterfacesRemoved"> <signal name="InterfacesRemoved">

View File

@ -20,7 +20,7 @@
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="MprisPlaylistList"/> <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="MprisPlaylistList"/>
</method> </method>
<signal name='PlaylistChanged'> <signal name='PlaylistChanged'>
<arg name='Playlist' type='(oss)' /> <arg direction='in' name='Playlist' type='(oss)' />
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="MprisPlaylist" /> <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="MprisPlaylist" />
</signal> </signal>
<annotation name="org.qtproject.QtDBus.QtTypeName" value="MaybePlaylist" /> <annotation name="org.qtproject.QtDBus.QtTypeName" value="MaybePlaylist" />

View File

@ -24,7 +24,7 @@
<arg name='CurrentTrack' type='o'/> <arg name='CurrentTrack' type='o'/>
</signal> </signal>
<signal name='TrackAdded'> <signal name='TrackAdded'>
<arg name='Metadata' type='a{sv}'/> <arg direction='in' name='Metadata' type='a{sv}'/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="TrackMetadata"/> <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="TrackMetadata"/>
<arg name='AfterTrack' type='o'/> <arg name='AfterTrack' type='o'/>
</signal> </signal>
@ -33,7 +33,7 @@
</signal> </signal>
<signal name='TrackMetadataChanged'> <signal name='TrackMetadataChanged'>
<arg name='TrackId' type='o'/> <arg name='TrackId' type='o'/>
<arg name='Metadata' type='a{sv}'/> <arg direction='in' name='Metadata' type='a{sv}'/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="TrackMetadata"/> <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="TrackMetadata"/>
</signal> </signal>
<property name='Tracks' type='ao' access='read'/> <property name='Tracks' type='ao' access='read'/>