summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-08-05 08:37:43 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-08-05 08:37:43 +0000
commit5f310e19fd9b3ab199682fda1e4874e1fc2cc158 (patch)
treeebe58be6e4c3035a8a6b9452be1694fa672dd36b /protocols/VKontakte/src/vk_proto.h
parente5868034a9b3cefc7b3d785e97b40b5382108fc8 (diff)
VKontakte:
fix(???) ‘validation required’ error add support vk-groups contacts fix (???) rare error with WorkerThread on connection lost version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@17159 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index ae91f9d5f0..401e6b213e 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -292,7 +292,10 @@ private:
void RetrieveMyInfo(void);
void OnReceiveMyInfo(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void RetrieveUserInfo(LONG userId);
+ void RetrieveGroupInfo(LONG groupID);
+ void RetrieveGroupInfo(CMStringA & groupIDs);
void OnReceiveUserInfo(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
+ void OnReceiveGroupInfo(NETLIBHTTPREQUEST * reply, AsyncHttpRequest * pReq);
void RetrieveFriends(bool bCleanNonFriendContacts = false);
void OnReceiveFriends(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void MarkMessagesRead(const CMStringA &mids);
@@ -320,6 +323,7 @@ private:
void SetAllContactStatuses(int status);
MCONTACT FindUser(LONG userid, bool bCreate = false);
MCONTACT FindChat(LONG dwUserid);
+ bool IsGroupUser(MCONTACT hContact);
bool CheckMid(LIST<void> &lList, int guid);
JSONNode& CheckJsonResponse(AsyncHttpRequest *pReq, NETLIBHTTPREQUEST *reply, JSONNode &root);
bool CheckJsonResult(AsyncHttpRequest *pReq, const JSONNode &Node);