diff options
Diffstat (limited to '')
-rw-r--r-- | src/db/Selection.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/db/Selection.hxx b/src/db/Selection.hxx index a39ce7afe..9802603fc 100644 --- a/src/db/Selection.hxx +++ b/src/db/Selection.hxx @@ -45,6 +45,15 @@ struct DatabaseSelection { const SongFilter *_filter=nullptr); gcc_pure + bool IsEmpty() const; + + /** + * Does this selection contain constraints other than "base"? + */ + gcc_pure + bool HasOtherThanBase() const; + + gcc_pure bool Match(const LightSong &song) const; }; |