summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/adblock/adblockmanager.h')
-rw-r--r--src/adblock/adblockmanager.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index 12e897c1..c782ee0d 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -29,8 +29,11 @@
#define ADBLOCK_MANAGER_H
+// Qt Includes
#include <QObject>
+#include <QStringList>
+// Forward Includes
class QUrl;
@@ -41,8 +44,13 @@ Q_OBJECT
public:
AdBlockManager(QObject *parent = 0);
~AdBlockManager();
-
+
+ void loadSettings();
bool isUrlAllowed(const QUrl &url);
+
+private:
+ bool _isAdblockEnabled;
+ QStringList _blocks;
};
#endif