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/ArchivePlugin.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ArchivePlugin.hxx') 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 -- cgit v1.2.3