aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSave.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongSave.hxx')
-rw-r--r--src/SongSave.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/SongSave.hxx b/src/SongSave.hxx
index 9fd6ba86c..f18aa9660 100644
--- a/src/SongSave.hxx
+++ b/src/SongSave.hxx
@@ -20,8 +20,6 @@
#ifndef MPD_SONG_SAVE_HXX
#define MPD_SONG_SAVE_HXX
-#include "gerror.h"
-
#include <stdio.h>
#define SONG_BEGIN "song_begin: "
@@ -29,6 +27,7 @@
struct Song;
struct Directory;
class TextFile;
+class Error;
void
song_save(FILE *fp, const Song *song);
@@ -37,12 +36,11 @@ song_save(FILE *fp, const Song *song);
* Loads a song from the input file. Reading stops after the
* "song_end" line.
*
- * @param error_r location to store the error occurring, or NULL to
- * ignore errors
+ * @param error location to store the error occurring
* @return true on success, false on error
*/
Song *
song_load(TextFile &file, Directory *parent, const char *uri,
- GError **error_r);
+ Error &error);
#endif