diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseGlue.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/DatabaseGlue.hxx b/src/DatabaseGlue.hxx index bc05942e0..bf4699ff6 100644 --- a/src/DatabaseGlue.hxx +++ b/src/DatabaseGlue.hxx @@ -23,6 +23,8 @@ #include "Compiler.h" struct config_param; +class EventLoop; +class DatabaseListener; class Database; class Error; @@ -32,7 +34,8 @@ class Error; * @param param the database configuration block */ bool -DatabaseGlobalInit(const config_param ¶m, Error &error); +DatabaseGlobalInit(EventLoop &loop, DatabaseListener &listener, + const config_param ¶m, Error &error); void DatabaseGlobalDeinit(void); @@ -44,7 +47,7 @@ DatabaseGlobalOpen(Error &error); * Returns the global #Database instance. May return nullptr if this MPD * configuration has no database (no music_directory was configured). */ -gcc_pure +gcc_const const Database * GetDatabase(); |