aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongFilter.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-23 10:13:50 +0200
committerMax Kellermann <max@duempel.org>2014-06-23 10:13:50 +0200
commitfa1fb47d7553a15f8bde1636364c0e6dba57c39c (patch)
treed458b289b803690651efa0759852df812de274eb /src/SongFilter.hxx
parentb9eeb6e6eb1818c591634abf5e25e6a8bb8e89fd (diff)
parent848ed1478866e4d99c10aa962a6d976a6b989536 (diff)
downloadmpd-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.hxx11
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.
*/