| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 bool Matches(const std::wstring& url, const std::wstring& contentType, const s
td::wstring& domain); | 52 bool Matches(const std::wstring& url, const std::wstring& contentType, const s
td::wstring& domain); |
| 53 std::vector<std::wstring> GetElementHidingSelectors(const std::wstring& domain
); | 53 std::vector<std::wstring> GetElementHidingSelectors(const std::wstring& domain
); |
| 54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions(); | 54 std::vector<SubscriptionDescription> FetchAvailableSubscriptions(); |
| 55 std::vector<SubscriptionDescription> GetListedSubscriptions(); | 55 std::vector<SubscriptionDescription> GetListedSubscriptions(); |
| 56 void SetSubscription(const std::wstring& url); | 56 void SetSubscription(const std::wstring& url); |
| 57 void UpdateAllSubscriptions(); | 57 void UpdateAllSubscriptions(); |
| 58 std::vector<std::wstring> GetExceptionDomains(); | 58 std::vector<std::wstring> GetExceptionDomains(); |
| 59 void AddFilter(const std::wstring& text); | 59 void AddFilter(const std::wstring& text); |
| 60 void RemoveFilter(const std::wstring& text); | 60 void RemoveFilter(const std::wstring& text); |
| 61 void SetPref(const std::wstring& name, const std::wstring& value); |
| 62 std::wstring GetPref(const std::wstring& name); |
| 61 }; | 63 }; |
| 62 | 64 |
| 63 #endif // _ADBLOCK_PLUS_CLIENT_H_ | 65 #endif // _ADBLOCK_PLUS_CLIENT_H_ |
| OLD | NEW |