summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-04 19:16:30 +0100
committerMax Kellermann <max@duempel.org>2014-02-04 19:53:37 +0100
commitff665b37cb92e2a1664bbab207030a1eedfbb036 (patch)
tree1325b9260c35080b5140eed90a65211276aa946c /test
parentce738430147427b3bb44063a96cedbae4c53a03d (diff)
db/DatabaseListener: add method OnDatabaseSongRemoved()
Decouples db/update/Remove.cpp from global variables.
Diffstat (limited to 'test')
-rw-r--r--test/DumpDatabase.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index af1139407..d282e9360 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -55,6 +55,10 @@ public:
virtual void OnDatabaseModified() override {
cout << "DatabaseModified" << endl;
}
+
+ virtual void OnDatabaseSongRemoved(const LightSong &song) override {
+ cout << "SongRemoved " << song.GetURI() << endl;
+ }
};
static bool