summaryrefslogtreecommitdiffstats
path: root/include/rofi-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rofi-types.h')
-rw-r--r--include/rofi-types.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/rofi-types.h b/include/rofi-types.h
index 57393981..bcde8f19 100644
--- a/include/rofi-types.h
+++ b/include/rofi-types.h
@@ -216,4 +216,22 @@ typedef struct Property
PropertyValue value;
} Property;
+/**
+ * Structure to hold a range.
+ */
+typedef struct rofi_range_pair
+{
+ unsigned int start;
+ unsigned int stop;
+} rofi_range_pair;
+
+/**
+ * Internal structure for matching.
+ */
+typedef struct rofi_int_matcher_t
+{
+ GRegex *regex;
+ gboolean invert;
+} rofi_int_matcher;
+
#endif // INCLUDE_ROFI_TYPES_H