diff options
author | Max Kellermann <max@duempel.org> | 2013-01-07 11:33:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-07 11:33:00 +0100 |
commit | 400ff1c81253d29b127834c0b5367e83bbb3430c (patch) | |
tree | d3660b68292829a6d1f76c4e32e26fef8bb53a19 /src/DatabaseQueue.hxx | |
parent | d360f17a59fe6ed52ffa74c48c63164cf203d1e0 (diff) | |
download | mpd-400ff1c81253d29b127834c0b5367e83bbb3430c.tar.gz mpd-400ff1c81253d29b127834c0b5367e83bbb3430c.tar.xz mpd-400ff1c81253d29b127834c0b5367e83bbb3430c.zip |
DatabaseQueue: pass DatabaseSelection to Add...()
Diffstat (limited to 'src/DatabaseQueue.hxx')
-rw-r--r-- | src/DatabaseQueue.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/DatabaseQueue.hxx b/src/DatabaseQueue.hxx index 14947d5d5..bae5b1f05 100644 --- a/src/DatabaseQueue.hxx +++ b/src/DatabaseQueue.hxx @@ -20,16 +20,13 @@ #ifndef MPD_DATABASE_QUEUE_HXX #define MPD_DATABASE_QUEUE_HXX -#include "gcc.h" #include "gerror.h" -class SongFilter; struct Partition; +struct DatabaseSelection; -gcc_nonnull(2) bool -AddFromDatabase(Partition &partition, - const char *name, - const SongFilter *filter, GError **error_r); +AddFromDatabase(Partition &partition, const DatabaseSelection &selection, + GError **error_r); #endif |