diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 23:19:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-04 23:19:46 +0100 |
commit | bc1e8e01f3e6abaf2c3511ad82535046d6a7b05d (patch) | |
tree | 80608056e427a42f31fc3ec7fb43b16c8ab7d803 /src/DatabaseQueue.hxx | |
parent | fe8e77e556999fcaeaab1bb4a3555fd72529e2e0 (diff) | |
download | mpd-bc1e8e01f3e6abaf2c3511ad82535046d6a7b05d.tar.gz mpd-bc1e8e01f3e6abaf2c3511ad82535046d6a7b05d.tar.xz mpd-bc1e8e01f3e6abaf2c3511ad82535046d6a7b05d.zip |
DatabaseQueue: pass playlist object
Don't use the global variable "g_playlist".
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseQueue.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/DatabaseQueue.hxx b/src/DatabaseQueue.hxx index 21ffe0fb0..50ed7d03a 100644 --- a/src/DatabaseQueue.hxx +++ b/src/DatabaseQueue.hxx @@ -24,11 +24,13 @@ #include "gerror.h" class SongFilter; +struct playlist; struct player_control; -gcc_nonnull(1,2) +gcc_nonnull(2,3) bool -findAddIn(struct player_control *pc, const char *name, +findAddIn(struct playlist &playlist, struct player_control *pc, + const char *name, const SongFilter *filter, GError **error_r); #endif |