SongFilter: add special keyword "base"

Restores the features from the previous draft commands "findin" /
"searchin".
This commit is contained in:
Max Kellermann
2013-10-29 18:54:34 +01:00
parent b5fc21b9f4
commit 2aee1b86f3
6 changed files with 57 additions and 5 deletions

View File

@@ -42,9 +42,7 @@ struct DatabaseSelection {
const SongFilter *filter;
DatabaseSelection(const char *_uri, bool _recursive,
const SongFilter *_filter=nullptr)
:uri(_uri), recursive(_recursive), filter(_filter) {
}
const SongFilter *_filter=nullptr);
gcc_pure
bool Match(const Song &song) const;