aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSave.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-30 20:58:14 +0200
committerMax Kellermann <max@duempel.org>2014-07-30 22:17:01 +0200
commit9fb351a139a56fc7b1ece549894f8fc31fa887cd (patch)
tree7c9ce42a1262af587f1b9fede2b24ff39cef93fc /src/SongSave.hxx
parent0d0ccacdf3e154b1cc27a0840fce80ac13f9641c (diff)
downloadmpd-9fb351a139a56fc7b1ece549894f8fc31fa887cd.tar.gz
mpd-9fb351a139a56fc7b1ece549894f8fc31fa887cd.tar.xz
mpd-9fb351a139a56fc7b1ece549894f8fc31fa887cd.zip
*Save, *State: use the OutputStream API instead of FILE*
Diffstat (limited to 'src/SongSave.hxx')
-rw-r--r--src/SongSave.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/SongSave.hxx b/src/SongSave.hxx
index 2a0edb49d..28c217249 100644
--- a/src/SongSave.hxx
+++ b/src/SongSave.hxx
@@ -20,21 +20,20 @@
#ifndef MPD_SONG_SAVE_HXX
#define MPD_SONG_SAVE_HXX
-#include <stdio.h>
-
#define SONG_BEGIN "song_begin: "
struct Song;
struct Directory;
class DetachedSong;
+class BufferedOutputStream;
class TextFile;
class Error;
void
-song_save(FILE *fp, const Song &song);
+song_save(BufferedOutputStream &os, const Song &song);
void
-song_save(FILE *fp, const DetachedSong &song);
+song_save(BufferedOutputStream &os, const DetachedSong &song);
/**
* Loads a song from the input file. Reading stops after the