aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Selection.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/db/Selection.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/db/Selection.hxx')
-rw-r--r--src/db/Selection.hxx9
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;
};