player/Control: Play*() returns Error information

This commit is contained in:
Max Kellermann
2015-11-11 19:57:37 +01:00
parent 2065e32904
commit fb547260d1
9 changed files with 82 additions and 54 deletions

View File

@@ -311,7 +311,7 @@ public:
* @param song the song to be queued; the given instance will
* be owned and freed by the player
*/
void Play(DetachedSong *song);
bool Play(DetachedSong *song, Error &error);
/**
* see PlayerCommand::CANCEL