DatabasePlugin: add interface DatabaseListener

Allow database plugins to announce that they have been modified.
This commit is contained in:
Max Kellermann
2014-01-11 01:01:54 +01:00
parent 00adf7ff17
commit 114df1f137
13 changed files with 93 additions and 13 deletions

View File

@@ -53,7 +53,8 @@ public:
bool Save(Error &error);
static Database *Create(const config_param &param,
static Database *Create(EventLoop &loop, DatabaseListener &listener,
const config_param &param,
Error &error);
virtual bool Open(Error &error) override;