diff options
Diffstat (limited to 'src/desktop/WindowRule.hpp')
-rw-r--r-- | src/desktop/WindowRule.hpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/desktop/WindowRule.hpp b/src/desktop/WindowRule.hpp index 3ce31179..be9c2d9c 100644 --- a/src/desktop/WindowRule.hpp +++ b/src/desktop/WindowRule.hpp @@ -2,12 +2,7 @@ #include <string> #include <cstdint> -#include <memory> - -//NOLINTNEXTLINE -namespace re2 { - class RE2; -}; +#include "Rule.hpp" class CWindowRule { public: @@ -65,9 +60,9 @@ class CWindowRule { std::string szWorkspace = ""; // empty means any // precompiled regexes - std::unique_ptr<re2::RE2> rTitle; - std::unique_ptr<re2::RE2> rClass; - std::unique_ptr<re2::RE2> rInitialTitle; - std::unique_ptr<re2::RE2> rInitialClass; - std::unique_ptr<re2::RE2> rV1Regex; + CRuleRegexContainer rTitle; + CRuleRegexContainer rClass; + CRuleRegexContainer rInitialTitle; + CRuleRegexContainer rInitialClass; + CRuleRegexContainer rV1Regex; };
\ No newline at end of file |