OLD | NEW |
1 #ifndef _ADBLOCK_PLUS_CLIENT_H_ | 1 #ifndef _ADBLOCK_PLUS_CLIENT_H_ |
2 #define _ADBLOCK_PLUS_CLIENT_H_ | 2 #define _ADBLOCK_PLUS_CLIENT_H_ |
3 | 3 |
4 | 4 |
5 #include "PluginTypedef.h" | 5 #include "PluginTypedef.h" |
6 #include "PluginClientBase.h" | 6 #include "PluginClientBase.h" |
7 | 7 |
8 | 8 |
9 class CPluginFilter; | 9 class CPluginFilter; |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 int GetIEVersion(); | 50 int GetIEVersion(); |
51 | 51 |
52 bool Matches(const std::string& url, const std::string& contentType, const std
::string& domain); | 52 bool Matches(const std::string& url, const std::string& contentType, const std
::string& domain); |
53 std::vector<std::string> GetElementHidingSelectors(const std::string& domain); | 53 std::vector<std::string> GetElementHidingSelectors(const std::string& domain); |
54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions(); | 54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions(); |
55 std::vector<SubscriptionDescription> GetListedSubscriptions(); | 55 std::vector<SubscriptionDescription> GetListedSubscriptions(); |
56 void SetSubscription(std::string url); | 56 void SetSubscription(std::string url); |
57 void UpdateAllSubscriptions(); | 57 void UpdateAllSubscriptions(); |
58 std::vector<std::string> GetExceptionDomains(); | 58 std::vector<std::string> GetExceptionDomains(); |
59 void AddFilter(const std::string& text); | 59 void AddFilter(const std::string& text); |
| 60 void RemoveFilter(const std::string& text); |
60 }; | 61 }; |
61 | 62 |
62 #endif // _ADBLOCK_PLUS_CLIENT_H_ | 63 #endif // _ADBLOCK_PLUS_CLIENT_H_ |
OLD | NEW |