diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2012-03-02 11:26:40 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2012-03-02 11:26:40 -0500 |
commit | 068f00cdfe7512aab9054af728e361226dcc9511 (patch) | |
tree | 1720b75b642bb345d8b9a77dd1ab5c6a21484911 /src/mpris2-interfaces.vala | |
parent | 87422f8fa6face6715761ab76aeb04225f5ac235 (diff) | |
download | ayatana-indicator-sound-068f00cdfe7512aab9054af728e361226dcc9511.tar.gz ayatana-indicator-sound-068f00cdfe7512aab9054af728e361226dcc9511.tar.bz2 ayatana-indicator-sound-068f00cdfe7512aab9054af728e361226dcc9511.zip |
Import upstream version 0.8.3.0
Diffstat (limited to 'src/mpris2-interfaces.vala')
-rw-r--r-- | src/mpris2-interfaces.vala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala index 5dab1d2..ee86c2b 100644 --- a/src/mpris2-interfaces.vala +++ b/src/mpris2-interfaces.vala @@ -49,15 +49,15 @@ public interface MprisPlayer : Object { // Playlist container public struct PlaylistDetails{ - public ObjectPath path; - public string name; - public string icon_path; + public ObjectPath? path; + public string? name; + public string? icon_path; } // Active playlist property container public struct ActivePlaylistContainer{ public bool valid; - public PlaylistDetails details; + public PlaylistDetails? details; } [DBus (name = "org.mpris.MediaPlayer2.Playlists")] @@ -69,11 +69,11 @@ public interface MprisPlaylists : Object { //methods public abstract async void ActivatePlaylist(ObjectPath playlist_id) throws IOError; - public abstract async PlaylistDetails[] GetPlaylists ( uint32 index, + public abstract async PlaylistDetails[]? GetPlaylists ( int32 index, uint32 max_count, string order, bool reverse_order ) throws IOError; //signals public signal void PlaylistChanged (PlaylistDetails details); -}
\ No newline at end of file +} |