summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-09 17:41:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-09 17:41:17 +0000
commit8ffc24f829fa99cc1c089193aa4b1e67e4f69dfd (patch)
tree38519dc251389923a1716ecf118b2d8172bcf464 /protocols/VKontakte/src/vk_proto.h
parentf73390e506d9a67fe4026221816f02fb1bf6234d (diff)
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
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h9
1 files changed, 6 insertions, 3 deletions
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<void> m_sendIds;
bool CheckMid(int msgid);
+
+ static INT_PTR CALLBACK OptionsProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
};