From 77de23311792b6df7fb7b82ea5db3bc6643196fc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Feb 2014 21:29:31 +0100 Subject: Playlist{Any,Registry,Mapper}: move functions to PlaylistStream.cxx --- src/playlist/PlaylistRegistry.hxx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/playlist/PlaylistRegistry.hxx') diff --git a/src/playlist/PlaylistRegistry.hxx b/src/playlist/PlaylistRegistry.hxx index d8a24f4af..f1833b925 100644 --- a/src/playlist/PlaylistRegistry.hxx +++ b/src/playlist/PlaylistRegistry.hxx @@ -51,6 +51,9 @@ playlist_list_global_finish(void); SongEnumerator * playlist_list_open_uri(const char *uri, Mutex &mutex, Cond &cond); +SongEnumerator * +playlist_list_open_stream_suffix(InputStream &is, const char *suffix); + /** * Opens a playlist from an input stream. * @@ -68,15 +71,4 @@ playlist_list_open_stream(InputStream &is, const char *uri); bool playlist_suffix_supported(const char *suffix); -/** - * Opens a playlist from a local file. - * - * @param path_fs the path of the playlist file - * @param is_r on success, an input_stream object is returned here, - * which must be closed after the playlist_provider object is freed - * @return a playlist, or nullptr on error - */ -SongEnumerator * -playlist_list_open_path(const char *path_fs, Mutex &mutex, Cond &cond); - #endif -- cgit v1.2.3