aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseQueue.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 11:33:00 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 11:33:00 +0100
commit400ff1c81253d29b127834c0b5367e83bbb3430c (patch)
treed3660b68292829a6d1f76c4e32e26fef8bb53a19 /src/DatabaseQueue.hxx
parentd360f17a59fe6ed52ffa74c48c63164cf203d1e0 (diff)
downloadmpd-400ff1c81253d29b127834c0b5367e83bbb3430c.tar.gz
mpd-400ff1c81253d29b127834c0b5367e83bbb3430c.tar.xz
mpd-400ff1c81253d29b127834c0b5367e83bbb3430c.zip
DatabaseQueue: pass DatabaseSelection to Add...()
Diffstat (limited to '')
-rw-r--r--src/DatabaseQueue.hxx9
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