Index: src/plugin/AdblockPlusClient.cpp |
=================================================================== |
--- a/src/plugin/AdblockPlusClient.cpp |
+++ b/src/plugin/AdblockPlusClient.cpp |
@@ -23,6 +23,7 @@ |
#include "PluginMutex.h" |
#include "PluginClass.h" |
#include "../shared/Utils.h" |
+#include "Registry.h" |
namespace |
{ |
@@ -571,4 +572,17 @@ |
int result; |
response >> result; |
return result; |
+} |
+ |
+std::wstring CAdblockPlusClient::GetConvertedFrom() |
+{ |
+ DEBUG_GENERAL("GetConvertedFrom"); |
+ Communication::OutputBuffer request; |
+ request << Communication::PROC_GET_CONVERTED_FROM; |
+ Communication::InputBuffer response; |
+ if (!CallEngine(request, response)) |
+ return L""; |
+ std::string convertedFrom; |
+ response >> convertedFrom; |
+ return ToUtf16String(convertedFrom); |
} |