From 8ffc24f829fa99cc1c089193aa4b1e67e4f69dfd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 9 Dec 2013 17:41:17 +0000 Subject: VKontakte: - option added to support server message delivery confirmations; - separate dialog procedure for options; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@7110 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'protocols/VKontakte/src/vk_proto.h') diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index 1f00a1f0d9..9f4d9f29fe 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -136,7 +136,7 @@ private: CMStringA m_prevUrl; HANDLE m_evRequestsQueue; HANDLE m_hWorkerThread; - bool m_bTerminated; + bool m_bTerminated, m_bServerDelivery; struct Cookie { @@ -155,10 +155,11 @@ private: void InitQueue(); void UninitQueue(); void ExecuteRequest(AsyncHttpRequest*); - bool PushAsyncHttpRequest(int iRequestType, LPCSTR szUrl, bool bSecure, VK_REQUEST_HANDLER pFunc, int nParams = 0, HttpParam *pParams = 0, int iTimeout = 10000); - bool PushAsyncHttpRequest(AsyncHttpRequest*, int iTimeout = 10000); void __cdecl WorkerThread(void*); + AsyncHttpRequest* PushAsyncHttpRequest(int iRequestType, LPCSTR szUrl, bool bSecure, VK_REQUEST_HANDLER pFunc, int nParams = 0, HttpParam *pParams = 0, int iTimeout = 10000); + AsyncHttpRequest* PushAsyncHttpRequest(AsyncHttpRequest*, int iTimeout = 10000); + bool RunCaptchaForm(LPCSTR szUrl, CMStringA&); bool AutoFillForm(char*, CMStringA&, CMStringA&); @@ -194,4 +195,6 @@ private: LIST m_sendIds; bool CheckMid(int msgid); + + static INT_PTR CALLBACK OptionsProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); }; -- cgit v1.2.3