summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-02-27 10:18:37 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-02-27 10:18:37 +0000
commitbe4940e4efd1ac8a335b411b550568e5f4dff213 (patch)
tree5ffbb6398eefdc796e56c41ace509398cb07576e /protocols/VKontakte/src/vk_proto.h
parentadb5cfe67a86c7340e337124c0b03d53c0d24fbb (diff)
VKontakte: wall.post support - part 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@12278 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, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index e765b3b379..37e70d37cb 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -317,6 +317,7 @@ struct CVkProto : public PROTO<CVkProto>
INT_PTR __cdecl SvcReportAbuse(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcDestroyKickChat(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcOpenBroadcast(WPARAM hContact, LPARAM);
+ INT_PTR __cdecl SvcWallPost(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcSetStatusMsg(WPARAM, LPARAM);
//==== History Menus ==================================================================
@@ -447,9 +448,10 @@ struct CVkProto : public PROTO<CVkProto>
void RetrieveUnreadMessages();
void OnReceiveMessages(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void OnReceiveDlgs(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
-
void OnSendMessage(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
+ void WallPost(MCONTACT hContact, TCHAR *ptszMsg, TCHAR *ptszUrl, bool bFriendsOnly = false);
+
void GetServerHistoryLastNDay(MCONTACT hContact, int NDay);
void GetServerHistory(MCONTACT hContact, int iOffset, int iCount, int iTime, int iLastMsgId, bool once = false);
void OnReceiveHistoryMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq);