diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-01 07:59:22 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-01 07:59:22 +0000 |
commit | ec4bfdfecf461afb79c7a992d73731c193970456 (patch) | |
tree | d8f9352335bf85df95f3089f86b44bfa8e6bbdc5 /protocols/SkypeWeb/src/skype_utils.cpp | |
parent | ae0a384dc2d35285f4d4b907695480f09f177f40 (diff) |
SkypeWeb: Small improvements.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_utils.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp index 2e7fb8c491..488726201d 100644 --- a/protocols/SkypeWeb/src/skype_utils.cpp +++ b/protocols/SkypeWeb/src/skype_utils.cpp @@ -480,11 +480,11 @@ LRESULT CSkypeProto::PopupDlgProcCall(HWND hPopup, UINT uMsg, WPARAM wParam, LPA switch (uMsg) {
case WM_CONTEXTMENU:
PUDeletePopup(hPopup);
+ CallService(MODULE"/IncomingCallPP", 0, PUGetContact(hPopup));
break;
case WM_COMMAND:
PUDeletePopup(hPopup);
- CallService(MODULE"/IncomingCallPP", 0, PUGetContact(hPopup));
-
+ CallService(MODULE"/IncomingCallPP", 1, PUGetContact(hPopup));
break;
}
@@ -591,7 +591,7 @@ INT_PTR CSkypeProto::GlobalParseSkypeUriService(WPARAM wParam, LPARAM lParam) return 1;
}
-/*
+
LPCTSTR CSkypeProto::ClearText(CMString &result, const TCHAR *message)
{
BSTR bstrHtml = SysAllocString(message), bstrRes = SysAllocString(_T(""));
@@ -606,7 +606,7 @@ LPCTSTR CSkypeProto::ClearText(CMString &result, const TCHAR *message) return result;
}
-HRESULT CSkypeProto::TestDocumentText(IHTMLDocument3 *pHtmlDoc, BSTR &message)
+HRESULT TestDocumentText(IHTMLDocument3 *pHtmlDoc, BSTR &message)
{
IHTMLDocument2 *pDoc = NULL;
IHTMLElement *pElem = NULL;
@@ -632,7 +632,7 @@ HRESULT CSkypeProto::TestDocumentText(IHTMLDocument3 *pHtmlDoc, BSTR &message) -HRESULT CSkypeProto::TestMarkupServices(BSTR bstrHtml, MarkupCallback *pCallback, BSTR &message)
+HRESULT TestMarkupServices(BSTR bstrHtml, MarkupCallback *pCallback, BSTR &message)
{
IHTMLDocument3 *pHtmlDocRoot = NULL;
@@ -688,5 +688,4 @@ HRESULT CSkypeProto::TestMarkupServices(BSTR bstrHtml, MarkupCallback *pCallback pHtmlDocRoot->Release();
}
return hr;
-}
-*/
\ No newline at end of file +}
\ No newline at end of file |