diff options
author | Max Kellermann <max@duempel.org> | 2014-06-23 10:13:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-06-23 10:13:50 +0200 |
commit | fa1fb47d7553a15f8bde1636364c0e6dba57c39c (patch) | |
tree | d458b289b803690651efa0759852df812de274eb /src/SongFilter.hxx | |
parent | b9eeb6e6eb1818c591634abf5e25e6a8bb8e89fd (diff) | |
parent | 848ed1478866e4d99c10aa962a6d976a6b989536 (diff) | |
download | mpd-fa1fb47d7553a15f8bde1636364c0e6dba57c39c.tar.gz mpd-fa1fb47d7553a15f8bde1636364c0e6dba57c39c.tar.xz mpd-fa1fb47d7553a15f8bde1636364c0e6dba57c39c.zip |
Merge branch 'v0.18.x'
Diffstat (limited to 'src/SongFilter.hxx')
-rw-r--r-- | src/SongFilter.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx index 852220f29..ca7d7bd90 100644 --- a/src/SongFilter.hxx +++ b/src/SongFilter.hxx @@ -117,6 +117,11 @@ public: return items; } + gcc_pure + bool IsEmpty() const { + return items.empty(); + } + /** * Is there at least one item with "fold case" enabled? */ @@ -130,6 +135,12 @@ public: } /** + * Does this filter contain constraints other than "base"? + */ + gcc_pure + bool HasOtherThanBase() const; + + /** * Returns the "base" specification (if there is one) or an * empty string. */ |