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 /src/Instance.hxx | |
parent | ce738430147427b3bb44063a96cedbae4c53a03d (diff) |
db/DatabaseListener: add method OnDatabaseSongRemoved()
Decouples db/update/Remove.cpp from global variables.
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r-- | src/Instance.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index 7d517e245..df5fdfbc4 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -79,8 +79,6 @@ struct Instance final * music_directory was configured). */ Database *GetDatabase(Error &error); - - void DeleteSong(const char *uri); #endif /** @@ -96,7 +94,8 @@ struct Instance final private: #ifdef ENABLE_DATABASE - virtual void OnDatabaseModified(); + virtual void OnDatabaseModified() override; + virtual void OnDatabaseSongRemoved(const LightSong &song) override; #endif #ifdef ENABLE_NEIGHBOR_PLUGINS |