diff options
author | Max Kellermann <max@duempel.org> | 2012-08-29 20:03:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-29 20:03:37 +0200 |
commit | 6ee76b7154a55b6bd12a4b695faed2bf49c2a5d5 (patch) | |
tree | 46c833dd03defa1e0aa907896653edc24d1f176a /src/DatabaseSelection.hxx | |
parent | 36b1c08ad7245a403578731c5d1240da8fc61d72 (diff) |
DatabaseSelection: add method Match()
Diffstat (limited to 'src/DatabaseSelection.hxx')
-rw-r--r-- | src/DatabaseSelection.hxx | 4 |
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 |