diff options
author | Max Kellermann <max@duempel.org> | 2012-08-29 19:27:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-29 20:19:02 +0200 |
commit | 333d226ed0044cf6a6387e03805be2d7f6dac6f2 (patch) | |
tree | 7acb6fc795fcd2bb8aa75c16172de1ff7a761e8f /src/DatabaseQueue.cxx | |
parent | 04a9dec9525a58d077da71a84655cb45b7838520 (diff) |
SongFilter: convert to a C++ class
Diffstat (limited to 'src/DatabaseQueue.cxx')
-rw-r--r-- | src/DatabaseQueue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DatabaseQueue.cxx b/src/DatabaseQueue.cxx index 52753940..325748d0 100644 --- a/src/DatabaseQueue.cxx +++ b/src/DatabaseQueue.cxx @@ -46,13 +46,13 @@ AddToQueue(struct player_control *pc, song &song, GError **error_r) bool findAddIn(struct player_control *pc, const char *uri, - const struct locate_item_list *criteria, GError **error_r) + const SongFilter *filter, GError **error_r) { const Database *db = GetDatabase(error_r); if (db == nullptr) return false; - const DatabaseSelection selection(uri, true, criteria); + const DatabaseSelection selection(uri, true, filter); using namespace std::placeholders; const auto f = std::bind(AddToQueue, pc, _1, _2); |