diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-09-29 08:32:09 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-09-29 08:40:25 +0200 |
commit | ebffe5503d1709f00d4d7d85f0db4f8fe1dc4f42 (patch) | |
tree | c35dca4f2e9abeb271eeca3560b2ef83d3ff2831 /include/rofi-types.h | |
parent | a1ea3e268f92e9edcce6a794d98929effb036675 (diff) |
Implement support for specifying negated match
- Prepending - inverts the matching result.
- Fix logic window/drun browser.
- Breaks API as argument token_match callback changed.
- Update tests.
Fixes: #665
Diffstat (limited to 'include/rofi-types.h')
-rw-r--r-- | include/rofi-types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/rofi-types.h b/include/rofi-types.h index d9bae009..11255218 100644 --- a/include/rofi-types.h +++ b/include/rofi-types.h @@ -225,4 +225,14 @@ 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 |