diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index 99398339e8..734ffc813c 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -75,13 +75,15 @@ AsyncHttpRequest* operator<<(AsyncHttpRequest*, const TCHAR_PARAM&); struct CVkSendMsgParam
{
- CVkSendMsgParam(MCONTACT _p1, int _p2) :
+ CVkSendMsgParam(MCONTACT _p1, int _p2, int _p3 = 0) :
hContact(_p1),
- iMsgID(_p2)
+ iMsgID(_p2),
+ iCount(_p3)
{}
MCONTACT hContact;
int iMsgID;
+ int iCount;
};
struct CVkChatMessage : public MZeroedObject
@@ -207,6 +209,7 @@ struct CVkProto : public PROTO<CVkProto> void RetrieveMessagesByIds(const CMStringA &mids);
void RetrieveUnreadMessages();
void OnReceiveMessages(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
+ void OnReceiveDlgs(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void OnSendMessage(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void OnReceiveHistoryMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq);
void GetHistoryDlg(MCONTACT hContact, int iLastMsg);
|