diff options
author | Max Kellermann <max@duempel.org> | 2014-02-01 00:45:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-01 00:45:58 +0100 |
commit | 8cf4fb53aa102380a8e734590aa6e82920e9632c (patch) | |
tree | 3bd1353dd2310cdb9472a284900e1ad0d0e08a3c /src/Playlist.hxx | |
parent | 1769ae54e4d1cf33e7528147f1ddf2f031228bd9 (diff) | |
download | mpd-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.hxx | 3 |
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, |