Index: src/plugin/AdblockPlusClient.cpp |
=================================================================== |
--- a/src/plugin/AdblockPlusClient.cpp |
+++ b/src/plugin/AdblockPlusClient.cpp |
@@ -417,3 +417,28 @@ |
else |
return defaultValue; |
} |
+ |
+void CAdblockPlusClient::CheckForUpdates() |
+{ |
+ CallEngine(Communication::PROC_CHECK_FOR_UPDATES); |
+} |
+ |
+std::wstring CAdblockPlusClient::GetAppLocale() |
+{ |
+ Communication::InputBuffer response; |
+ if (!CallEngine(Communication::PROC_GET_APP_LOCALE, response)) |
+ return L""; |
+ std::wstring locale; |
+ response >> locale; |
+ return locale; |
+} |
+ |
+std::wstring CAdblockPlusClient::GetDocumentationLink() |
+{ |
+ Communication::InputBuffer response; |
+ if (!CallEngine(Communication::PROC_GET_DOCUMENTATION_LINK, response)) |
+ return L""; |
+ std::wstring docLink; |
+ response >> docLink; |
+ return docLink; |
+} |