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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void AddFilter(const std::wstring& text); | 63 void AddFilter(const std::wstring& text); |
64 void RemoveFilter(const std::wstring& text); | 64 void RemoveFilter(const std::wstring& text); |
65 void SetPref(const std::wstring& name, const std::wstring& value); | 65 void SetPref(const std::wstring& name, const std::wstring& value); |
66 void SetPref(const std::string& name, const std::string& value); | 66 void SetPref(const std::string& name, const std::string& value); |
67 void SetPref(const std::wstring& name, const int64_t& value); | 67 void SetPref(const std::wstring& name, const int64_t& value); |
68 void SetPref(const std::wstring& name, bool value); | 68 void SetPref(const std::wstring& name, bool value); |
69 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu
e = L""); | 69 std::wstring GetPref(const std::wstring& name, const std::wstring& defaultValu
e = L""); |
70 std::wstring GetPref(const std::wstring& name, LPCWSTR defaultValue); | 70 std::wstring GetPref(const std::wstring& name, LPCWSTR defaultValue); |
71 bool GetPref(const std::wstring& name, bool defaultValue = false); | 71 bool GetPref(const std::wstring& name, bool defaultValue = false); |
72 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); | 72 int64_t GetPref(const std::wstring& name, int64_t defaultValue = 0); |
| 73 |
| 74 bool IsFirstRun(); |
73 }; | 75 }; |
74 | 76 |
75 #endif // _ADBLOCK_PLUS_CLIENT_H_ | 77 #endif // _ADBLOCK_PLUS_CLIENT_H_ |
OLD | NEW |