summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-22 14:09:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-22 14:09:51 +0000
commit2234bcb0625bd4bb337b2fd08bfab0c10096b34e (patch)
treeffd5fa87aeecab87eb1d69a6693660e698566e36 /protocols/VKontakte/src/vk_proto.h
parent666032969fb65ccdea9fdbc85c43eadcb7ef754e (diff)
VK:
- nasty clutch to replace <br> with CRLF; - fix for sending long messages (patch by Elzor, edited); - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@10294 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index 8c06d8ee84..2ecdd0001b 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -71,6 +71,17 @@ struct TCHAR_PARAM : public PARAM
};
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const TCHAR_PARAM&);
+struct CVkSendMsgParam
+{
+ CVkSendMsgParam(MCONTACT _p1, int _p2) :
+ hContact(_p1),
+ iMsgID(_p2)
+ {}
+
+ MCONTACT hContact;
+ int iMsgID;
+};
+
struct CVkChatMessage : public MZeroedObject
{
CVkChatMessage(int _id) : m_mid(_id) {}