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

@@ -155,6 +155,6 @@ UpdateService::UpdateService(EventLoop &_loop, SimpleDatabase &_db,
:DeferredMonitor(_loop), db(_db), listener(_listener),
progress(UPDATE_PROGRESS_IDLE),
update_task_id(0),
walk(_loop)
walk(_loop, _listener)
{
}