20 #ifndef MPD_MEMORY_PLAYLIST_PROVIDER_HXX
21 #define MPD_MEMORY_PLAYLIST_PROVIDER_HXX
27 #include <forward_list>
30 std::forward_list<DetachedSong> songs;
34 :songs(std::move(_songs)) {}
36 virtual std::unique_ptr<DetachedSong>
NextSong()
override;
MemorySongEnumerator(std::forward_list< DetachedSong > &&_songs)
virtual std::unique_ptr< DetachedSong > NextSong() override
Obtain the next song.
An object which provides serial access to a number of Song objects.