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/DatabaseGlue.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/DatabaseGlue.hxx') diff --git a/src/DatabaseGlue.hxx b/src/DatabaseGlue.hxx index e321e0ba8..5e23a8c35 100644 --- a/src/DatabaseGlue.hxx +++ b/src/DatabaseGlue.hxx @@ -21,10 +21,10 @@ #define MPD_DATABASE_GLUE_HXX #include "gcc.h" -#include "gerror.h" struct config_param; class Database; +class Error; /** * Initialize the database library. @@ -32,13 +32,13 @@ class Database; * @param param the database configuration block */ bool -DatabaseGlobalInit(const config_param ¶m, GError **error_r); +DatabaseGlobalInit(const config_param ¶m, Error &error); void DatabaseGlobalDeinit(void); bool -DatabaseGlobalOpen(GError **error); +DatabaseGlobalOpen(Error &error); /** * Returns the global #Database instance. May return NULL if this MPD @@ -54,6 +54,6 @@ GetDatabase(); */ gcc_pure const Database * -GetDatabase(GError **error_r); +GetDatabase(Error &error); #endif -- cgit v1.2.3