aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSave.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
committerMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
commitba161ec572b98d3bcf9f735ff122133319fe896a (patch)
treea211690e3a8b7fce1fb6db540228122bead1f2bc /src/SongSave.hxx
parent43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff)
downloadmpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.gz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.xz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.zip
song: convert header to C++
Diffstat (limited to '')
-rw-r--r--src/SongSave.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SongSave.hxx b/src/SongSave.hxx
index 3b0c3319c..9fd6ba86c 100644
--- a/src/SongSave.hxx
+++ b/src/SongSave.hxx
@@ -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);