Index: src/FilterEngine.cpp |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/src/FilterEngine.cpp |
@@ -0,0 +1,40 @@ |
+#include <AdblockPlus.h> |
+ |
+using namespace AdblockPlus; |
+ |
+FilterEngine::FilterEngine(JsEngine& jsEngine) : jsEngine(jsEngine) |
+{ |
+} |
+ |
+void FilterEngine::AddSubscription(Subscription subscription) |
+{ |
+} |
+ |
+void FilterEngine::RemoveSubscription(const Subscription& subscription) |
+{ |
+} |
+ |
+std::vector<Subscription> FilterEngine::GetSubscriptions() |
+{ |
+ return std::vector<Subscription>(); |
+} |
+ |
+void FilterEngine::UpdateSubscriptionFilters(const Subscription& subscription) |
+{ |
+} |
+ |
+std::vector<Subscription> FilterEngine::FetchSubscriptionList() |
+{ |
+ return std::vector<Subscription>(); |
+} |
+ |
+bool FilterEngine::FiltersMatch(const std::string& url, |
+ const std::string& contentType) const |
+{ |
Oleksandr
2013/03/27 08:37:01
I guess it probably won't be an issue on Linux, bu
Felix Dahlke
2013/03/27 08:59:18
That's tricky actually... std::string works fine f
|
+ return false; |
+} |
+ |
+std::vector<std::string> FilterEngine::GetElementHidingRules() const |
+{ |
+ return std::vector<std::string>(); |
+} |