diff options
author | Max Kellermann <max@duempel.org> | 2013-08-10 18:02:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-04 18:14:22 +0200 |
commit | 29030b54c98b0aee65fbc10ebf7ba36bed98c02c (patch) | |
tree | 79766830b55ebca38ddbce84d8d548227eedb69e /src/CommandError.hxx | |
parent | c9fcc7f14860777458153eb2d13c773ccfa1daa2 (diff) | |
download | mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.gz mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.tar.xz mpd-29030b54c98b0aee65fbc10ebf7ba36bed98c02c.zip |
util/Error: new error passing library
Replaces GLib's GError.
Diffstat (limited to 'src/CommandError.hxx')
-rw-r--r-- | src/CommandError.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 |