aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/PlaylistMapper.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-07 20:27:24 +0100
committerMax Kellermann <max@duempel.org>2014-02-07 20:27:24 +0100
commit8549ccfd8c24c5666435ac4dd00ba3c7d14e0351 (patch)
tree3b7820e956b3b494dff1a21be97baa311f1ff1cb /src/playlist/PlaylistMapper.hxx
parentffd16b55a69a01b906805752acc11e26491138bc (diff)
downloadmpd-8549ccfd8c24c5666435ac4dd00ba3c7d14e0351.tar.gz
mpd-8549ccfd8c24c5666435ac4dd00ba3c7d14e0351.tar.xz
mpd-8549ccfd8c24c5666435ac4dd00ba3c7d14e0351.zip
playlist/CloseSongEnumerator: new wrapper class
Simplifies a lot of code, because we don't need to return both the SongEnumerator and the InputStream.
Diffstat (limited to 'src/playlist/PlaylistMapper.hxx')
-rw-r--r--src/playlist/PlaylistMapper.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/playlist/PlaylistMapper.hxx b/src/playlist/PlaylistMapper.hxx
index a460cb124..01c982763 100644
--- a/src/playlist/PlaylistMapper.hxx
+++ b/src/playlist/PlaylistMapper.hxx
@@ -23,18 +23,12 @@
class Mutex;
class Cond;
class SongEnumerator;
-struct InputStream;
/**
* Opens a playlist from an URI relative to the playlist or music
* directory.
- *
- * @param is_r on success, an input_stream object may be returned
- * here, which must be closed after the playlist_provider object is
- * freed
*/
SongEnumerator *
-playlist_mapper_open(const char *uri, Mutex &mutex, Cond &cond,
- InputStream **is_r);
+playlist_mapper_open(const char *uri, Mutex &mutex, Cond &cond);
#endif