aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/adblockinterceptor.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/adblockinterceptor.h
parentMade Profile menu a regular menu (diff)
downloadsmolbote-0250559bcf5764fb8cf3a8ccc4e330b8ed855f96.tar.xz
Blocker UI
Diffstat (limited to 'src/webengine/adblockinterceptor.h')
-rw-r--r--src/webengine/adblockinterceptor.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/webengine/adblockinterceptor.h b/src/webengine/adblockinterceptor.h
deleted file mode 100644
index 061b626..0000000
--- a/src/webengine/adblockinterceptor.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef ADBLOCKINTERCEPTOR_H
-#define ADBLOCKINTERCEPTOR_H
-
-#include <QWebEngineUrlRequestInterceptor>
-#include "adblockrule.h"
-
-class AdBlockInterceptor : public QWebEngineUrlRequestInterceptor
-{
- Q_OBJECT
-public:
- explicit AdBlockInterceptor(QObject *parent = 0);
-
- void interceptRequest(QWebEngineUrlRequestInfo &info);
-
- int loadSubscription(const QString &subpath);
-
-signals:
-
-public slots:
-
-private:
- QList<AdBlockRule*> m_urlBlacklist;
-};
-
-#endif // ADBLOCKINTERCEPTOR_H