| 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 #include "../shared/Communication.h" | 7 #include "../shared/Communication.h" |
| 8 | 8 |
| 9 | 9 |
| 10 class CPluginFilter; | 10 class CPluginFilter; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 std::vector<std::wstring> GetExceptionDomains(); | 60 std::vector<std::wstring> GetExceptionDomains(); |
| 61 void AddFilter(const std::wstring& text); | 61 void AddFilter(const std::wstring& text); |
| 62 void RemoveFilter(const std::wstring& text); | 62 void RemoveFilter(const std::wstring& text); |
| 63 void SetPref(const std::wstring& name, const std::wstring& value); | 63 void SetPref(const std::wstring& name, const std::wstring& value); |
| 64 void SetPref(const std::wstring& name, const int64_t& value); | 64 void SetPref(const std::wstring& name, const int64_t& value); |
| 65 void SetPref(const std::wstring& name, bool value); | 65 void SetPref(const std::wstring& name, bool value); |
| 66 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu
e = L""); | 66 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu
e = L""); |
| 67 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); | 67 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); |
| 68 bool GetPref(const std::wstring& name, bool defaultValue = false); | 68 bool GetPref(const std::wstring& name, bool defaultValue = false); |
| 69 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); | 69 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); |
| 70 std::wstring GetRequire(const std::wstring& name); |
| 70 | 71 |
| 71 bool IsFirstRun(); | 72 bool IsFirstRun(); |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 #endif // _ADBLOCK_PLUS_CLIENT_H_ | 75 #endif // _ADBLOCK_PLUS_CLIENT_H_ |
| OLD | NEW |