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:
parent
c51d2f954e
commit
f17b79a105
@ -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">
|
||||||
|
@ -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" />
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
<interface name='org.mpris.MediaPlayer2.TrackList'>
|
<interface name='org.mpris.MediaPlayer2.TrackList'>
|
||||||
<method name='GetTracksMetadata'>
|
<method name='GetTracksMetadata'>
|
||||||
<arg direction='in' name='TrackIds' type='ao'/>
|
<arg direction='in' name='TrackIds' type='ao'/>
|
||||||
<arg direction='out' name='Metadata' type='aa{sv}'/>
|
<arg direction='out' name='Metadata' type='aa{sv}'/>
|
||||||
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="TrackMetadata" />
|
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="TrackMetadata" />
|
||||||
</method>
|
</method>
|
||||||
<method name='AddTrack'>
|
<method name='AddTrack'>
|
||||||
<arg direction='in' name='Uri' type='s'/>
|
<arg direction='in' name='Uri' type='s'/>
|
||||||
@ -24,8 +24,8 @@
|
|||||||
<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>
|
||||||
<signal name='TrackRemoved'>
|
<signal name='TrackRemoved'>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
</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'/>
|
||||||
<property name='CanEditTracks' type='b' access='read'/>
|
<property name='CanEditTracks' type='b' access='read'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user