aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistMapper.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-05 09:37:54 +0200
committerMax Kellermann <max@duempel.org>2013-09-05 09:40:55 +0200
commit8929f88e6d78d538d943e80b66fcf21706e53974 (patch)
tree01232fd55f40dfa1cded59cb28a79b257ebb19e4 /src/PlaylistMapper.hxx
parent5348808bf594de927cc64eebae9118d6971343b1 (diff)
downloadmpd-8929f88e6d78d538d943e80b66fcf21706e53974.tar.gz
mpd-8929f88e6d78d538d943e80b66fcf21706e53974.tar.xz
mpd-8929f88e6d78d538d943e80b66fcf21706e53974.zip
PlaylistPlugin: add interface SongEnumerator
Replaces struct playlist_provider.
Diffstat (limited to 'src/PlaylistMapper.hxx')
-rw-r--r--src/PlaylistMapper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PlaylistMapper.hxx b/src/PlaylistMapper.hxx
index abfdb5481..b966e6c39 100644
--- a/src/PlaylistMapper.hxx
+++ b/src/PlaylistMapper.hxx
@@ -23,6 +23,7 @@
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
+class SongEnumerator;
struct input_stream;
/**
@@ -33,7 +34,7 @@ struct input_stream;
* here, which must be closed after the playlist_provider object is
* freed
*/
-struct playlist_provider *
+SongEnumerator *
playlist_mapper_open(const char *uri, Mutex &mutex, Cond &cond,
struct input_stream **is_r);