aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/urlinterceptor.h
diff options
context:
space:
mode:
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