From 733d6a6b16686c852b6d0fc0e4e9197add501a2f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 7 Aug 2012 23:22:37 +0200 Subject: DatabaseSelection: add "match" attribute Let the database plugin do the match. --- src/directory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/directory.h') diff --git a/src/directory.h b/src/directory.h index c7e70121f..81eb140c2 100644 --- a/src/directory.h +++ b/src/directory.h @@ -54,6 +54,7 @@ struct song; struct db_visitor; +struct locate_item_list; struct directory { /** @@ -95,7 +96,7 @@ struct directory { /** * Caller must lock #db_mutex. */ - bool Walk(bool recursive, + bool Walk(bool recursive, const locate_item_list *match, VisitDirectory visit_directory, VisitSong visit_song, VisitPlaylist visit_playlist, GError **error_r) const; -- cgit v1.2.3