 Issue 9987009:
  Interface for the libadblockplus API  (Closed)
    
  
    Issue 9987009:
  Interface for the libadblockplus API  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 #include <AdblockPlus.h> | |
| 2 | |
| 3 using namespace AdblockPlus; | |
| 4 | |
| 5 FilterEngine::FilterEngine(JsEngine& jsEngine) : jsEngine(jsEngine) | |
| 6 { | |
| 7 } | |
| 8 | |
| 9 void FilterEngine::AddSubscription(Subscription subscription) | |
| 10 { | |
| 11 } | |
| 12 | |
| 13 void FilterEngine::RemoveSubscription(const Subscription& subscription) | |
| 14 { | |
| 15 } | |
| 16 | |
| 17 std::vector<Subscription> FilterEngine::GetSubscriptions() | |
| 18 { | |
| 19 return std::vector<Subscription>(); | |
| 20 } | |
| 21 | |
| 22 void FilterEngine::UpdateSubscriptionFilters(const Subscription& subscription) | |
| 23 { | |
| 24 } | |
| 25 | |
| 26 std::vector<Subscription> FilterEngine::FetchSubscriptionList() | |
| 27 { | |
| 28 return std::vector<Subscription>(); | |
| 29 } | |
| 30 | |
| 31 bool FilterEngine::FiltersMatch(const std::string& url, | |
| 32 const std::string& contentType) const | |
| 33 { | |
| 
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
 | |
| 34 return false; | |
| 35 } | |
| 36 | |
| 37 std::vector<std::string> FilterEngine::GetElementHidingRules() const | |
| 38 { | |
| 39 return std::vector<std::string>(); | |
| 40 } | |
| OLD | NEW |