diff options
Diffstat (limited to 'src/adblock/adblockrule.h')
-rw-r--r-- | src/adblock/adblockrule.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/adblock/adblockrule.h b/src/adblock/adblockrule.h index 81110054..f8d6bf39 100644 --- a/src/adblock/adblockrule.h +++ b/src/adblock/adblockrule.h @@ -66,6 +66,15 @@ class QNetworkRequest; class QString; + +enum RuleTypes +{ + TextRule, + FallbackRule, + NullRule +}; + + class AdBlockRule { public: @@ -81,6 +90,8 @@ public: return b; } + static RuleTypes ruleType(const QString &filter); + private: QSharedPointer<AdBlockRuleImpl> m_implementation; }; |