Merge branch 'v0.18.x'

This commit is contained in:
Max Kellermann
2014-06-23 10:13:50 +02:00
6 changed files with 68 additions and 1 deletions

View File

@@ -44,6 +44,15 @@ struct DatabaseSelection {
DatabaseSelection(const char *_uri, bool _recursive,
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;
};