aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/desktop/LayerRule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/LayerRule.hpp')
-rw-r--r--src/desktop/LayerRule.hpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/desktop/LayerRule.hpp b/src/desktop/LayerRule.hpp
index 117fa6fb..8cdb332e 100644
--- a/src/desktop/LayerRule.hpp
+++ b/src/desktop/LayerRule.hpp
@@ -2,12 +2,7 @@
#include <string>
#include <cstdint>
-#include <memory>
-
-//NOLINTNEXTLINE
-namespace re2 {
- class RE2;
-};
+#include "Rule.hpp"
class CLayerRule {
public:
@@ -27,10 +22,10 @@ class CLayerRule {
RULE_ZUMBA,
};
- eRuleType ruleType = RULE_INVALID;
+ eRuleType ruleType = RULE_INVALID;
- const std::string targetNamespace;
- const std::string rule;
+ const std::string targetNamespace;
+ const std::string rule;
- std::unique_ptr<re2::RE2> rTargetNamespaceRegex;
+ CRuleRegexContainer targetNamespaceRegex;
}; \ No newline at end of file