aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/urlinterceptor.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-24 16:09:07 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-24 16:09:07 +0100
commit0250559bcf5764fb8cf3a8ccc4e330b8ed855f96 (patch)
tree2283350e44f78e83a8c0257b66c184939cd95a98 /src/webengine/urlinterceptor.h
parentMade Profile menu a regular menu (diff)
downloadsmolbote-0250559bcf5764fb8cf3a8ccc4e330b8ed855f96.tar.xz
Blocker UI
Diffstat (limited to 'src/webengine/urlinterceptor.h')
-rw-r--r--src/webengine/urlinterceptor.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/webengine/urlinterceptor.h b/src/webengine/urlinterceptor.h
new file mode 100644
index 0000000..7834430
--- /dev/null
+++ b/src/webengine/urlinterceptor.h
@@ -0,0 +1,21 @@
+#ifndef ADBLOCKINTERCEPTOR_H
+#define ADBLOCKINTERCEPTOR_H
+
+#include <QWebEngineUrlRequestInterceptor>
+
+class AdBlockInterceptor : public QWebEngineUrlRequestInterceptor
+{
+ Q_OBJECT
+public:
+ explicit AdBlockInterceptor(QObject *parent = 0);
+
+ void interceptRequest(QWebEngineUrlRequestInfo &info);
+
+signals:
+
+public slots:
+
+private:
+};
+
+#endif // ADBLOCKINTERCEPTOR_H