diff options
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r-- | src/Instance.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index 45b1e44f1..160e713b0 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -21,11 +21,13 @@ #define MPD_INSTANCE_HXX #include "check.h" +#include "DatabaseListener.hxx" +#include "Compiler.h" class ClientList; struct Partition; -struct Instance { +struct Instance final : public DatabaseListener { ClientList *client_list; Partition *partition; @@ -48,6 +50,9 @@ struct Instance { * Synchronize the player with the play queue. */ void SyncWithPlayer(); + +private: + virtual void OnDatabaseModified(); }; #endif |