diff options
author | Max Kellermann <max@duempel.org> | 2014-01-11 01:01:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-11 01:01:54 +0100 |
commit | 114df1f137d5a32cdde64d43712fb602c2f93ebb (patch) | |
tree | b0f1b51cfed7ef50b1e98a241dcfd8d8c17a2791 /src/DatabaseGlue.hxx | |
parent | 00adf7ff173afbe7fe13734a27d6ee19096ce640 (diff) | |
download | mpd-114df1f137d5a32cdde64d43712fb602c2f93ebb.tar.gz mpd-114df1f137d5a32cdde64d43712fb602c2f93ebb.tar.xz mpd-114df1f137d5a32cdde64d43712fb602c2f93ebb.zip |
DatabasePlugin: add interface DatabaseListener
Allow database plugins to announce that they have been modified.
Diffstat (limited to 'src/DatabaseGlue.hxx')
-rw-r--r-- | src/DatabaseGlue.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DatabaseGlue.hxx b/src/DatabaseGlue.hxx index 725aa302a..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); |