summaryrefslogtreecommitdiff
path: root/src/PlaylistPrint.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-10 18:02:44 +0200
committerMax Kellermann <max@duempel.org>2013-09-04 18:14:22 +0200
commit29030b54c98b0aee65fbc10ebf7ba36bed98c02c (patch)
tree79766830b55ebca38ddbce84d8d548227eedb69e /src/PlaylistPrint.hxx
parentc9fcc7f14860777458153eb2d13c773ccfa1daa2 (diff)
util/Error: new error passing library
Replaces GLib's GError.
Diffstat (limited to 'src/PlaylistPrint.hxx')
-rw-r--r--src/PlaylistPrint.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PlaylistPrint.hxx b/src/PlaylistPrint.hxx
index 16bee9b85..c8c353d0c 100644
--- a/src/PlaylistPrint.hxx
+++ b/src/PlaylistPrint.hxx
@@ -20,13 +20,12 @@
#ifndef MPD_PLAYLIST_PRINT_HXX
#define MPD_PLAYLIST_PRINT_HXX
-#include "gerror.h"
-
#include <stdint.h>
struct playlist;
class SongFilter;
class Client;
+class Error;
/**
* Sends the whole playlist to the client, song URIs only.
@@ -94,7 +93,7 @@ playlist_print_changes_position(Client *client,
*/
bool
spl_print(Client *client, const char *name_utf8, bool detail,
- GError **error_r);
+ Error &error);
/**
* Send the playlist file to the client.