aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongFilter.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-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.
*/