aboutsummaryrefslogtreecommitdiffstats
path: root/src/Playlist.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-01 00:45:58 +0100
committerMax Kellermann <max@duempel.org>2014-02-01 00:45:58 +0100
commit8cf4fb53aa102380a8e734590aa6e82920e9632c (patch)
tree3bd1353dd2310cdb9472a284900e1ad0d0e08a3c /src/Playlist.hxx
parent1769ae54e4d1cf33e7528147f1ddf2f031228bd9 (diff)
downloadmpd-8cf4fb53aa102380a8e734590aa6e82920e9632c.tar.gz
mpd-8cf4fb53aa102380a8e734590aa6e82920e9632c.tar.xz
mpd-8cf4fb53aa102380a8e734590aa6e82920e9632c.zip
Playlist: pass Database to DatabaseModified()
Don't use global variable.
Diffstat (limited to 'src/Playlist.hxx')
-rw-r--r--src/Playlist.hxx3
1 files changed, 2 insertions, 1 deletions
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,