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/ArchivePlugin.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/ArchivePlugin.hxx')
-rw-r--r-- | src/ArchivePlugin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx index 13952940f..ac8c1c8e3 100644 --- a/src/ArchivePlugin.hxx +++ b/src/ArchivePlugin.hxx @@ -22,11 +22,11 @@ #include "thread/Mutex.hxx" #include "thread/Cond.hxx" -#include "gerror.h" struct input_stream; class ArchiveFile; class ArchiveVisitor; +class Error; struct archive_plugin { const char *name; @@ -49,7 +49,7 @@ struct archive_plugin { * returns pointer to handle used is all operations with this archive * or NULL when opening fails */ - ArchiveFile *(*open)(const char *path_fs, GError **error_r); + ArchiveFile *(*open)(const char *path_fs, Error &error); /** * suffixes handled by this plugin. @@ -60,6 +60,6 @@ struct archive_plugin { ArchiveFile * archive_file_open(const struct archive_plugin *plugin, const char *path, - GError **error_r); + Error &error); #endif |