aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/formats/adblockrule.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urlfilter/formats/adblockrule.h')
-rw-r--r--lib/urlfilter/formats/adblockrule.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/urlfilter/formats/adblockrule.h b/lib/urlfilter/formats/adblockrule.h
new file mode 100644
index 0000000..8677c2c
--- /dev/null
+++ b/lib/urlfilter/formats/adblockrule.h
@@ -0,0 +1,23 @@
+/*
+ * This file is part of smolbote. It's copyrighted by the contributors recorded
+ * in the version control history of the file, available from its original
+ * location: https://neueland.iserlohn-fortress.net/smolbote.hg
+ *
+ * SPDX-License-Identifier: GPL-3.0
+ */
+
+#ifndef SMOLBOTE_ADBLOCKRULE_H
+#define SMOLBOTE_ADBLOCKRULE_H
+
+#include "../filterrule.h"
+
+class AdBlockRule : public FilterRule
+{
+public:
+ explicit AdBlockRule(const QString &filter);
+
+ void parseOption(const QString &option);
+
+};
+
+#endif // SMOLBOTE_ADBLOCKRULE_H