| 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 #include "../shared/CriticalSection.h" | 8 #include "../shared/CriticalSection.h" |
| 9 | 9 |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void SetPref(const std::wstring& name, const std::wstring& value); | 68 void SetPref(const std::wstring& name, const std::wstring& value); |
| 69 void SetPref(const std::wstring& name, const int64_t& value); | 69 void SetPref(const std::wstring& name, const int64_t& value); |
| 70 void SetPref(const std::wstring& name, bool value); | 70 void SetPref(const std::wstring& name, bool value); |
| 71 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu
e = L""); | 71 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu
e = L""); |
| 72 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); | 72 std::wstring GetPref(const std::wstring& name, const wchar_t* defaultValue); |
| 73 bool GetPref(const std::wstring& name, bool defaultValue = false); | 73 bool GetPref(const std::wstring& name, bool defaultValue = false); |
| 74 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); | 74 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); |
| 75 void CheckForUpdates(); | 75 void CheckForUpdates(); |
| 76 std::wstring GetAppLocale(); | 76 std::wstring GetAppLocale(); |
| 77 std::wstring GetDocumentationLink(); | 77 std::wstring GetDocumentationLink(); |
| 78 bool TogglePluginEnabled(); |
| 78 | 79 |
| 79 bool IsFirstRun(); | 80 bool IsFirstRun(); |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 #endif // _ADBLOCK_PLUS_CLIENT_H_ | 83 #endif // _ADBLOCK_PLUS_CLIENT_H_ |
| OLD | NEW |