DatabaseSelection: add method Match()

This commit is contained in:
Max Kellermann
2012-08-29 20:03:37 +02:00
parent 36b1c08ad7
commit 6ee76b7154
4 changed files with 34 additions and 3 deletions

View File

@@ -26,6 +26,7 @@
#include <stddef.h>
struct locate_item_list;
struct song;
struct DatabaseSelection {
/**
@@ -47,6 +48,9 @@ struct DatabaseSelection {
:uri(_uri), recursive(_recursive), match(_match) {
assert(uri != NULL);
}
gcc_pure
bool Match(const song &song) const;
};
#endif