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/CommandError.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/CommandError.hxx') diff --git a/src/CommandError.hxx b/src/CommandError.hxx index 04d0aeb21..06f76390a 100644 --- a/src/CommandError.hxx +++ b/src/CommandError.hxx @@ -22,17 +22,17 @@ #include "command.h" #include "PlaylistError.hxx" -#include "gerror.h" class Client; +class Error; enum command_return print_playlist_result(Client *client, enum playlist_result result); /** - * Send the GError to the client and free the GError. + * Send the #Error to the client. */ enum command_return -print_error(Client *client, GError *error); +print_error(Client *client, const Error &error); #endif -- cgit v1.2.3