From 49968541fd1229a92e5eadbd037b051d3b6a87da Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 12 Dec 2014 22:26:04 +0100 Subject: sticker/Match: add inequality operators --- src/sticker/Match.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/sticker/Match.hxx') 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 -- cgit v1.2.3