playlist/SongEnumerator: allow NextSong() to throw exceptions
This commit is contained in:
@@ -35,6 +35,8 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Obtain the next song. Returns nullptr if there are no more
|
* Obtain the next song. Returns nullptr if there are no more
|
||||||
* songs.
|
* songs.
|
||||||
|
*
|
||||||
|
* Throws on error.
|
||||||
*/
|
*/
|
||||||
virtual std::unique_ptr<DetachedSong> NextSong() = 0;
|
virtual std::unique_ptr<DetachedSong> NextSong() = 0;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user