db/DatabaseListener: add method OnDatabaseSongRemoved()

Decouples db/update/Remove.cpp from global variables.
This commit is contained in:
Max Kellermann
2014-02-04 19:16:30 +01:00
parent ce73843014
commit ff665b37cb
10 changed files with 49 additions and 38 deletions

View File

@@ -49,7 +49,7 @@ class UpdateWalk final {
DatabaseEditor editor;
public:
UpdateWalk(EventLoop &_loop);
UpdateWalk(EventLoop &_loop, DatabaseListener &_listener);
/**
* Returns true if the database was modified.