summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index e34bc41fcf..a6b3988a8f 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -52,6 +52,8 @@ struct CVkChatInfo : public MZeroedObject
ptrT m_tszTitle, m_tszId;
HANDLE m_hContact;
OBJLIST<CVkChatUser> m_users;
+
+ CVkChatUser* GetUserById(LPCTSTR);
};
struct CVkProto : public PROTO<CVkProto>
@@ -231,8 +233,12 @@ private:
void AppendChatMessage(int id, JSONNODE *pMsg, bool bIsHistory);
void RetrieveChatInfo(CVkChatInfo*);
void OnReceiveChatInfo(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
- int __cdecl OnChatEvent(WPARAM, LPARAM);
void OnSendChatMsg(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
+ void OnChatDestroy(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
+ int __cdecl OnChatEvent(WPARAM, LPARAM);
+ int __cdecl OnGcMenuHook(WPARAM, LPARAM);
+ void LogMenuHook(CVkChatInfo*, GCHOOK*);
+ void NickMenuHook(CVkChatInfo*, GCHOOK*);
CMString GetAttachmentDescr(JSONNODE*);
};