aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistState.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 10:16:05 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 10:16:05 +0100
commit90fe4c5124e3fd335f05804d3cc47ba996e62b14 (patch)
treeef7fb6b3cb2edbe4898431db611f04fb281129fc /src/PlaylistState.hxx
parent2452447c814048ed72e95a459c76b4be65962b5c (diff)
downloadmpd-90fe4c5124e3fd335f05804d3cc47ba996e62b14.tar.gz
mpd-90fe4c5124e3fd335f05804d3cc47ba996e62b14.tar.xz
mpd-90fe4c5124e3fd335f05804d3cc47ba996e62b14.zip
TextFile: convert to a class
Diffstat (limited to 'src/PlaylistState.hxx')
-rw-r--r--src/PlaylistState.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PlaylistState.hxx b/src/PlaylistState.hxx
index d38fe9d12..572f6fb4a 100644
--- a/src/PlaylistState.hxx
+++ b/src/PlaylistState.hxx
@@ -30,13 +30,14 @@
struct playlist;
struct player_control;
+class TextFile;
void
playlist_state_save(FILE *fp, const struct playlist *playlist,
struct player_control *pc);
bool
-playlist_state_restore(const char *line, FILE *fp, GString *buffer,
+playlist_state_restore(const char *line, TextFile &file,
struct playlist *playlist, struct player_control *pc);
/**