diff options
Diffstat (limited to 'src/desktop/LayerRule.hpp')
-rw-r--r-- | src/desktop/LayerRule.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/desktop/LayerRule.hpp b/src/desktop/LayerRule.hpp new file mode 100644 index 00000000..7dca4621 --- /dev/null +++ b/src/desktop/LayerRule.hpp @@ -0,0 +1,28 @@ +#pragma once + +#include <string> +#include <cstdint> + +class CLayerRule { + public: + CLayerRule(const std::string& rule, const std::string& targetNS); + + enum eRuleType : uint8_t { + RULE_INVALID = 0, + RULE_NOANIM, + RULE_BLUR, + RULE_BLURPOPUPS, + RULE_DIMAROUND, + RULE_IGNOREALPHA, + RULE_IGNOREZERO, + RULE_XRAY, + RULE_ANIMATION, + RULE_ORDER, + RULE_ZUMBA, + }; + + eRuleType ruleType = RULE_INVALID; + + const std::string targetNamespace; + const std::string rule; +};
\ No newline at end of file |