summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-25 06:03:04 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-25 06:03:04 +0000
commit08a1f78e2cede8d75667dd321ff8589d0b7ab5a8 (patch)
tree9351711f167207057f9eb2ef7d111320169f816a /protocols/VKontakte/src/vk_proto.h
parenta7b73722232516aa22a8c00621dec72d3c18a93f (diff)
VKontakte: delete from friend list support
git-svn-id: http://svn.miranda-ng.org/main/trunk@10577 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 a9d19234ae..dc6d3bd8d4 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PS_GETALLSERVERHISTORY "/GetAllServerHystory"
#define PS_VISITPROFILE "/VisitProfile"
#define PS_ADDASFRIEND "/AddAsFriend"
+#define PS_DELETEFRIEND "/DeleteFriend"
#define MAXHISTORYMIDSPERONE 200
struct CVkProto;
@@ -200,6 +201,7 @@ struct CVkProto : public PROTO<CVkProto>
INT_PTR __cdecl SvcVisitProfile(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcAddAsFriend(WPARAM hContact, LPARAM);
+ INT_PTR __cdecl SvcDeleteFriend(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcGetAllServerHistory(WPARAM hContact, LPARAM);
void InitMenus();
void UnInitMenus();
@@ -239,6 +241,7 @@ struct CVkProto : public PROTO<CVkProto>
void RetrievePollingInfo();
void OnReceivePollingInfo(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void OnReceiveAuthRequest(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
+ void OnReceiveDeleteFriend(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
void __cdecl PollingThread(void*);
int PollServer();
@@ -271,6 +274,7 @@ private:
CMI_GETALLSERVERHISTORY,
CMI_VISITPROFILE,
CMI_ADDASFRIEND,
+ CMI_DELETEFRIEND,
CMI_COUNT
};
enum ProtoMenuIndexes {