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/db/update/Walk.cxx | |
parent | ce738430147427b3bb44063a96cedbae4c53a03d (diff) | |
download | mpd-ff665b37cb92e2a1664bbab207030a1eedfbb036.tar.gz mpd-ff665b37cb92e2a1664bbab207030a1eedfbb036.tar.xz mpd-ff665b37cb92e2a1664bbab207030a1eedfbb036.zip |
db/DatabaseListener: add method OnDatabaseSongRemoved()
Decouples db/update/Remove.cpp from global variables.
Diffstat (limited to '')
-rw-r--r-- | src/db/update/Walk.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/update/Walk.cxx b/src/db/update/Walk.cxx index ed09c1676..c54d5a8d7 100644 --- a/src/db/update/Walk.cxx +++ b/src/db/update/Walk.cxx @@ -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 = |