aboutsummaryrefslogtreecommitdiffstats
path: root/src/ArchivePlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ArchivePlugin.hxx')
-rw-r--r--src/ArchivePlugin.hxx6
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