aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientFile.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/ClientFile.hxx
parentc9fcc7f14860777458153eb2d13c773ccfa1daa2 (diff)
downloadmpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.gz
mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.xz
mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.zip
util/Error: new error passing library
Replaces GLib's GError.
Diffstat (limited to 'src/ClientFile.hxx')
-rw-r--r--src/ClientFile.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ClientFile.hxx b/src/ClientFile.hxx
index 21db4d3ad..68d79ca08 100644
--- a/src/ClientFile.hxx
+++ b/src/ClientFile.hxx
@@ -20,10 +20,9 @@
#ifndef MPD_CLIENT_FILE_HXX
#define MPD_CLIENT_FILE_HXX
-#include "gerror.h"
-
class Client;
class Path;
+class Error;
/**
* Is this client allowed to use the specified local file?
@@ -37,6 +36,6 @@ class Path;
*/
bool
client_allow_file(const Client *client, const Path &path_fs,
- GError **error_r);
+ Error &error);
#endif