Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/AdblockPlusClient.cpp

Issue 11557015: Tooltip notification. Check for update fixes. (Closed)
Patch Set: Created Sept. 5, 2013, 10:43 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/AdblockPlusClient.cpp
===================================================================
--- a/src/plugin/AdblockPlusClient.cpp
+++ b/src/plugin/AdblockPlusClient.cpp
@@ -441,9 +441,11 @@
}
}
-void CAdblockPlusClient::CheckForUpdates()
+void CAdblockPlusClient::CheckForUpdates(HWND callbackWindow)
{
- CallEngine(Communication::PROC_CHECK_FOR_UPDATES);
+ Communication::OutputBuffer request;
+ request << Communication::PROC_CHECK_FOR_UPDATES << (int32_t&)callbackWindow;
Wladimir Palant 2013/09/11 13:07:06 Please use static_cast here.
Oleksandr 2013/09/16 13:52:46 Since we are STRICT compliant: http://msdn.micros
Wladimir Palant 2013/09/16 14:37:18 Felix seems to think that generally avoiding C-sty
Oleksandr 2013/09/25 10:03:14 I agree with that as well, but in this case it is
Wladimir Palant 2013/09/25 10:27:14 I disagree. Currently there are lots of C-style ca
+ CallEngine(request);
}
std::wstring CAdblockPlusClient::GetDocumentationLink()

Powered by Google App Engine
This is Rietveld