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

@ -55,6 +55,10 @@ public:
virtual void OnDatabaseModified() override {
cout << "DatabaseModified" << endl;
}
virtual void OnDatabaseSongRemoved(const LightSong &song) override {
cout << "SongRemoved " << song.GetURI() << endl;
}
};
static bool