aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/PlaylistAny.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/PlaylistAny.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/PlaylistAny.hxx')
-rw-r--r--src/playlist/PlaylistAny.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/playlist/PlaylistAny.hxx b/src/playlist/PlaylistAny.hxx
index c472afb31..6ee792993 100644
--- a/src/playlist/PlaylistAny.hxx
+++ b/src/playlist/PlaylistAny.hxx
@@ -23,19 +23,13 @@
class Mutex;
class Cond;
class SongEnumerator;
-struct InputStream;
/**
* Opens a playlist from the specified URI, which can be either an
* absolute remote URI (with a scheme) or a relative path to the
* music orplaylist 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_open_any(const char *uri, Mutex &mutex, Cond &cond,
- InputStream **is_r);
+playlist_open_any(const char *uri, Mutex &mutex, Cond &cond);
#endif