aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseSelection.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-29 20:03:37 +0200
committerMax Kellermann <max@duempel.org>2012-08-29 20:03:37 +0200
commit6ee76b7154a55b6bd12a4b695faed2bf49c2a5d5 (patch)
tree46c833dd03defa1e0aa907896653edc24d1f176a /src/DatabaseSelection.hxx
parent36b1c08ad7245a403578731c5d1240da8fc61d72 (diff)
DatabaseSelection: add method Match()
Diffstat (limited to 'src/DatabaseSelection.hxx')
-rw-r--r--src/DatabaseSelection.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DatabaseSelection.hxx b/src/DatabaseSelection.hxx
index 35e2c27c..c5ee5cf0 100644
--- a/src/DatabaseSelection.hxx
+++ b/src/DatabaseSelection.hxx
@@ -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