// SPDX-License-Identifier: GPL-2.0-or-later // Copyright The Music Player Daemon Project #ifndef MPD_MEMORY_PLAYLIST_PROVIDER_HXX #define MPD_MEMORY_PLAYLIST_PROVIDER_HXX #include "SongEnumerator.hxx" #include "song/DetachedSong.hxx" #include class MemorySongEnumerator final : public SongEnumerator { std::forward_list songs; public: MemorySongEnumerator(std::forward_list &&_songs) :songs(std::move(_songs)) {} std::unique_ptr NextSong() override; }; #endif