replace TextFile references with LineReader

This commit is contained in:
Max Kellermann
2021-12-03 14:16:32 +01:00
parent f9c4d88b12
commit 8681a3d74c
14 changed files with 33 additions and 31 deletions

View File

@@ -28,7 +28,7 @@ struct Song;
struct AudioFormat;
class DetachedSong;
class BufferedOutputStream;
class TextFile;
class LineReader;
void
song_save(BufferedOutputStream &os, const Song &song);
@@ -43,7 +43,7 @@ song_save(BufferedOutputStream &os, const DetachedSong &song);
* Throws on error.
*/
DetachedSong
song_load(TextFile &file, const char *uri,
song_load(LineReader &file, const char *uri,
std::string *target_r=nullptr);
#endif