From ff665b37cb92e2a1664bbab207030a1eedfbb036 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2014 19:16:30 +0100 Subject: db/DatabaseListener: add method OnDatabaseSongRemoved() Decouples db/update/Remove.cpp from global variables. --- src/db/update/UpdateGlue.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/update/UpdateGlue.cxx') diff --git a/src/db/update/UpdateGlue.cxx b/src/db/update/UpdateGlue.cxx index ea1bf6f09..32e817ff1 100644 --- a/src/db/update/UpdateGlue.cxx +++ b/src/db/update/UpdateGlue.cxx @@ -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) { } -- cgit v1.2.3