From b68aad07ca94035442309cf8c68b039573f949ca Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Wed, 24 Sep 2014 09:19:28 +0000 Subject: VKontakte: add PopUp support add AuthRequest (add as friend support) version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@10569 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'protocols/VKontakte/src/vk.h') diff --git a/protocols/VKontakte/src/vk.h b/protocols/VKontakte/src/vk.h index 9f7ae21514..2663031fa2 100644 --- a/protocols/VKontakte/src/vk.h +++ b/protocols/VKontakte/src/vk.h @@ -43,12 +43,16 @@ along with this program. If not, see . #define VKFLAG_MSGMEDIA 512 // сообщение содержит медиаконтент // Errors +#define VKERR_NOERRORS 0 // No error #define VKERR_UNKNOWN 1 // Unknown error occurred #define VKERR_TOO_MANY_REQ_PER_SEC 6 // Too many requests per second #define VKERR_AUTHORIZATION_FAILED 5 // User authorization failed #define VKERR_FLOOD_CONTROL 9 // Flood control #define VKERR_INTERNAL_SERVER_ERR 10 // Internal server error #define VKERR_CAPTCHA_NEEDED 14 // Captcha needed +#define VKERR_HIMSELF_AS_FRIEND 174 // Cannot add user himself as friend +#define VKERR_YOU_ON_BLACKLIST 175 // Cannot add this user to friends as they have put you on their blacklist +#define VKERR_USER_ON_BLACKLIST 176 // Cannot add this user to friends as you put him on blacklist #define VK_API_VER "5.24" #define VER_API CHAR_PARAM("v", VK_API_VER) -- cgit v1.2.3