From 90fe4c5124e3fd335f05804d3cc47ba996e62b14 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 3 Jan 2013 10:16:05 +0100 Subject: TextFile: convert to a class --- src/PlaylistDatabase.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/PlaylistDatabase.hxx') 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 -- cgit v1.2.3