aboutsummaryrefslogtreecommitdiffstats
path: root/src/sticker/Match.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-12 22:26:04 +0100
committerMax Kellermann <max@duempel.org>2014-12-12 22:26:04 +0100
commit49968541fd1229a92e5eadbd037b051d3b6a87da (patch)
treeb9972ecf8f26b1d6f787433b9cb50cc3bc2d5399 /src/sticker/Match.hxx
parentcc143105b884bfcaa188c6e9f93babec5958ea87 (diff)
downloadmpd-49968541fd1229a92e5eadbd037b051d3b6a87da.tar.gz
mpd-49968541fd1229a92e5eadbd037b051d3b6a87da.tar.xz
mpd-49968541fd1229a92e5eadbd037b051d3b6a87da.zip
sticker/Match: add inequality operators
Diffstat (limited to '')
-rw-r--r--src/sticker/Match.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sticker/Match.hxx b/src/sticker/Match.hxx
index 6165ffb84..a10a3a805 100644
--- a/src/sticker/Match.hxx
+++ b/src/sticker/Match.hxx
@@ -32,6 +32,18 @@ enum class StickerOperator {
* exists.
*/
EQUALS,
+
+ /**
+ * Matches if a sticker with the specified name exists with a
+ * value smaller than the specified one.
+ */
+ LESS_THAN,
+
+ /**
+ * Matches if a sticker with the specified name exists with a
+ * value bigger than the specified one.
+ */
+ GREATER_THAN,
};
#endif