TextFile: convert to a class
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
struct song;
|
||||
struct Directory;
|
||||
class TextFile;
|
||||
|
||||
void
|
||||
song_save(FILE *fp, const struct song *song);
|
||||
@@ -41,7 +42,7 @@ song_save(FILE *fp, const struct song *song);
|
||||
* @return true on success, false on error
|
||||
*/
|
||||
struct song *
|
||||
song_load(FILE *fp, Directory *parent, const char *uri,
|
||||
GString *buffer, GError **error_r);
|
||||
song_load(TextFile &file, Directory *parent, const char *uri,
|
||||
GError **error_r);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user