From 29030b54c98b0aee65fbc10ebf7ba36bed98c02c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 10 Aug 2013 18:02:44 +0200 Subject: util/Error: new error passing library Replaces GLib's GError. --- src/ClientFile.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ClientFile.hxx') 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 -- cgit v1.2.3