diff options
author | Max Kellermann <max@duempel.org> | 2015-03-24 20:32:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-24 22:03:20 +0100 |
commit | 69ad5671edadb1862469597ebdde9f36b6e9b77f (patch) | |
tree | 7a30b1f75b904cfe95e4317ba25e3b767ce15a48 /src/PlaylistSave.hxx | |
parent | f9e0f0d25700c0674763def6134e18ef8a6a9da4 (diff) |
Playlist*: use the BufferedOutputStream API instead of FILE*
Diffstat (limited to 'src/PlaylistSave.hxx')
-rw-r--r-- | src/PlaylistSave.hxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/PlaylistSave.hxx b/src/PlaylistSave.hxx index 35b88efc6..536c5c8d1 100644 --- a/src/PlaylistSave.hxx +++ b/src/PlaylistSave.hxx @@ -20,21 +20,17 @@ #ifndef MPD_PLAYLIST_SAVE_H #define MPD_PLAYLIST_SAVE_H -#include "PlaylistError.hxx" - -#include <stdio.h> - struct Queue; struct playlist; -struct PlayerControl; +class BufferedOutputStream; class DetachedSong; class Error; void -playlist_print_song(FILE *file, const DetachedSong &song); +playlist_print_song(BufferedOutputStream &os, const DetachedSong &song); void -playlist_print_uri(FILE *fp, const char *uri); +playlist_print_uri(BufferedOutputStream &os, const char *uri); /** * Saves a queue object into a stored playlist file. |