diff options
author | Max Kellermann <max@duempel.org> | 2014-11-26 08:34:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-11-26 08:34:51 +0100 |
commit | ac8c1d0a0145a420e88ee16d9e7584b0dfcfe82d (patch) | |
tree | 8e0557b4463871ccac794089a1627433da8cb37b /src/queue/Playlist.hxx | |
parent | 921d01b59d669ab727e2e6b14580ef064b344b0e (diff) | |
download | mpd-ac8c1d0a0145a420e88ee16d9e7584b0dfcfe82d.tar.gz mpd-ac8c1d0a0145a420e88ee16d9e7584b0dfcfe82d.tar.xz mpd-ac8c1d0a0145a420e88ee16d9e7584b0dfcfe82d.zip |
Playlist: move more functions into the class
Diffstat (limited to 'src/queue/Playlist.hxx')
-rw-r--r-- | src/queue/Playlist.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/queue/Playlist.hxx b/src/queue/Playlist.hxx index c78950044..fb75377f0 100644 --- a/src/queue/Playlist.hxx +++ b/src/queue/Playlist.hxx @@ -146,11 +146,22 @@ protected: void UpdateQueuedSong(PlayerControl &pc, const DetachedSong *prev); /** + * Queue a song, addressed by its order number. + */ + void QueueSongOrder(PlayerControl &pc, unsigned order); + + /** * Called when the player thread has started playing the * "queued" song. */ void QueuedSongStarted(PlayerControl &pc); + /** + * The player has stopped for some reason. Check the error, + * and decide whether to re-start playback. + */ + void ResumePlayback(PlayerControl &pc); + public: void BeginBulk(); void CommitBulk(PlayerControl &pc); |