aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-interfaces.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpris2-interfaces.vala')
-rw-r--r--src/mpris2-interfaces.vala16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala
index 250f0c5..6534741 100644
--- a/src/mpris2-interfaces.vala
+++ b/src/mpris2-interfaces.vala
@@ -28,8 +28,8 @@ public interface MprisRoot : Object {
public abstract string Identity{owned get; set;}
public abstract string DesktopEntry{owned get; set;}
// methods
- public abstract async void Quit() throws IOError;
- public abstract async void Raise() throws IOError;
+ public abstract async void Quit() throws GLib.DBusError, GLib.IOError;
+ public abstract async void Raise() throws GLib.DBusError, GLib.IOError;
}
[DBus (name = "org.mpris.MediaPlayer2.Player")]
@@ -42,10 +42,10 @@ public interface MprisPlayer : Object {
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;
- public abstract async void Previous() throws IOError;
- public abstract async void Seek(int64 offset) throws IOError;
+ public abstract async void PlayPause() throws GLib.DBusError, GLib.IOError;
+ public abstract async void Next() throws GLib.DBusError, GLib.IOError;
+ public abstract async void Previous() throws GLib.DBusError, GLib.IOError;
+ public abstract async void Seek(int64 offset) throws GLib.DBusError, GLib.IOError;
// signals
public signal void Seeked(int64 new_position);
}
@@ -71,11 +71,11 @@ public interface MprisPlaylists : Object {
public abstract ActivePlaylistContainer? ActivePlaylist {owned get; set;}
//methods
- public abstract async void ActivatePlaylist(ObjectPath playlist_id) throws IOError;
+ public abstract async void ActivatePlaylist(ObjectPath playlist_id) throws GLib.DBusError, GLib.IOError;
public abstract async PlaylistDetails[]? GetPlaylists ( uint32 index,
uint32 max_count,
string order,
- bool reverse_order ) throws IOError;
+ bool reverse_order ) throws GLib.DBusError, GLib.IOError;
//signals
public signal void PlaylistChanged (PlaylistDetails details);