aboutsummaryrefslogtreecommitdiffstats
path: root/src/Instance.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-11 01:01:54 +0100
committerMax Kellermann <max@duempel.org>2014-01-11 01:01:54 +0100
commit114df1f137d5a32cdde64d43712fb602c2f93ebb (patch)
treeb0f1b51cfed7ef50b1e98a241dcfd8d8c17a2791 /src/Instance.cxx
parent00adf7ff173afbe7fe13734a27d6ee19096ce640 (diff)
downloadmpd-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/Instance.cxx')
-rw-r--r--src/Instance.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index 4fe399a2d..e9a308848 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -48,3 +48,9 @@ Instance::SyncWithPlayer()
{
partition->SyncWithPlayer();
}
+
+void
+Instance::OnDatabaseModified()
+{
+ DatabaseModified();
+}