aboutsummaryrefslogtreecommitdiffstats
path: root/src/sticker/Match.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-12 22:12:19 +0100
committerMax Kellermann <max@duempel.org>2014-12-12 22:16:00 +0100
commitcc143105b884bfcaa188c6e9f93babec5958ea87 (patch)
tree46d5022fc55999ca6ec69ea9a474b682ded4b3fd /src/sticker/Match.hxx
parentfed44e95b3c4bc74c8bd96eaf6f08bc6ad01ed55 (diff)
downloadmpd-cc143105b884bfcaa188c6e9f93babec5958ea87.tar.gz
mpd-cc143105b884bfcaa188c6e9f93babec5958ea87.tar.xz
mpd-cc143105b884bfcaa188c6e9f93babec5958ea87.zip
sticker/Match: add operator "EQUALS"
Mapped to "=" in the MPD protocol. This is the first operator, initially supporting value matches in the MPD protocol.
Diffstat (limited to 'src/sticker/Match.hxx')
-rw-r--r--src/sticker/Match.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sticker/Match.hxx b/src/sticker/Match.hxx
index f91e70b40..6165ffb84 100644
--- a/src/sticker/Match.hxx
+++ b/src/sticker/Match.hxx
@@ -26,6 +26,12 @@ enum class StickerOperator {
* "value" parameter is ignored (must be nullptr).
*/
EXISTS,
+
+ /**
+ * Matches if a sticker with the specified name and value
+ * exists.
+ */
+ EQUALS,
};
#endif