diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseGlue.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 |