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

@@ -46,8 +46,8 @@
#include <stdlib.h>
#include <errno.h>
UpdateWalk::UpdateWalk(EventLoop &_loop)
:editor(_loop)
UpdateWalk::UpdateWalk(EventLoop &_loop, DatabaseListener &_listener)
:editor(_loop, _listener)
{
#ifndef WIN32
follow_inside_symlinks =