summaryrefslogtreecommitdiff
path: root/src/PlaylistDatabase.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/PlaylistDatabase.hxx
parent2452447c814048ed72e95a459c76b4be65962b5c (diff)
TextFile: convert to a class
Diffstat (limited to 'src/PlaylistDatabase.hxx')
-rw-r--r--src/PlaylistDatabase.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PlaylistDatabase.hxx b/src/PlaylistDatabase.hxx
index da2bb6b97..f5f039267 100644
--- a/src/PlaylistDatabase.hxx
+++ b/src/PlaylistDatabase.hxx
@@ -28,12 +28,13 @@
#define PLAYLIST_META_BEGIN "playlist_begin: "
class PlaylistVector;
+class TextFile;
void
playlist_vector_save(FILE *fp, const PlaylistVector &pv);
bool
-playlist_metadata_load(FILE *fp, PlaylistVector &pv, const char *name,
- GString *buffer, GError **error_r);
+playlist_metadata_load(TextFile &file, PlaylistVector &pv, const char *name,
+ GError **error_r);
#endif