diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-24 15:32:17 +0200 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-24 15:32:17 +0200 |
commit | 035626d4df388a10e65226a81bd380f277fb12d2 (patch) | |
tree | 32125b88632237a5278dc28d61aabf82e1fb81aa /src/mpris2-interfaces.vala | |
parent | 53b1246ced87efdaaf4600cdbe606a6be7cae680 (diff) | |
parent | c258047f9704b1baafc4bf25e92cba66101d8744 (diff) | |
download | ayatana-indicator-sound-035626d4df388a10e65226a81bd380f277fb12d2.tar.gz ayatana-indicator-sound-035626d4df388a10e65226a81bd380f277fb12d2.tar.bz2 ayatana-indicator-sound-035626d4df388a10e65226a81bd380f277fb12d2.zip |
merged lp:~xavi-garcia-mena/indicator-sound/next-play-prev-buttons-bug-1373313
Diffstat (limited to 'src/mpris2-interfaces.vala')
-rw-r--r-- | src/mpris2-interfaces.vala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala index a472d5c..0ed8719 100644 --- a/src/mpris2-interfaces.vala +++ b/src/mpris2-interfaces.vala @@ -37,7 +37,10 @@ public interface MprisPlayer : Object { // properties public abstract HashTable<string, Variant?> Metadata{owned get; set;} public abstract int32 Position{owned get; set;} - public abstract string? PlaybackStatus{owned get; set;} + public abstract string? PlaybackStatus{owned get; set;} + public abstract bool CanPlay{owned get; set;} + public abstract bool CanGoNext{owned get; set;} + public abstract bool CanGoPrevious{owned get; set;} // methods public abstract async void PlayPause() throws IOError; public abstract async void Next() throws IOError; |