From 8cf4fb53aa102380a8e734590aa6e82920e9632c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Feb 2014 00:45:58 +0100 Subject: Playlist: pass Database to DatabaseModified() Don't use global variable. --- src/Playlist.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Playlist.hxx') diff --git a/src/Playlist.hxx b/src/Playlist.hxx index 41811fe59..45f1e2dfc 100644 --- a/src/Playlist.hxx +++ b/src/Playlist.hxx @@ -26,6 +26,7 @@ enum TagType : uint8_t; struct PlayerControl; class DetachedSong; +class Database; class Error; struct playlist { @@ -141,7 +142,7 @@ public: /** * The database has been modified. Pull all updates. */ - void DatabaseModified(); + void DatabaseModified(const Database &db); #endif PlaylistResult AppendSong(PlayerControl &pc, -- cgit v1.2.3