song: convert header to C++

This commit is contained in:
Max Kellermann
2013-07-28 13:25:12 +02:00
parent 43f613d9be
commit ba161ec572
91 changed files with 643 additions and 691 deletions

View File

@@ -26,12 +26,12 @@
#define SONG_BEGIN "song_begin: "
struct song;
struct Song;
struct Directory;
class TextFile;
void
song_save(FILE *fp, const struct song *song);
song_save(FILE *fp, const Song *song);
/**
* Loads a song from the input file. Reading stops after the
@@ -41,7 +41,7 @@ song_save(FILE *fp, const struct song *song);
* ignore errors
* @return true on success, false on error
*/
struct song *
Song *
song_load(TextFile &file, Directory *parent, const char *uri,
GError **error_r);