diff options
author | Max Kellermann <max@duempel.org> | 2014-02-04 19:16:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-04 19:53:37 +0100 |
commit | ff665b37cb92e2a1664bbab207030a1eedfbb036 (patch) | |
tree | 1325b9260c35080b5140eed90a65211276aa946c /test | |
parent | ce738430147427b3bb44063a96cedbae4c53a03d (diff) | |
download | mpd-ff665b37cb92e2a1664bbab207030a1eedfbb036.tar.gz mpd-ff665b37cb92e2a1664bbab207030a1eedfbb036.tar.xz mpd-ff665b37cb92e2a1664bbab207030a1eedfbb036.zip |
db/DatabaseListener: add method OnDatabaseSongRemoved()
Decouples db/update/Remove.cpp from global variables.
Diffstat (limited to 'test')
-rw-r--r-- | test/DumpDatabase.cxx | 4 |
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 |