db/DatabaseListener: add method OnDatabaseSongRemoved()
Decouples db/update/Remove.cpp from global variables.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user