summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-24 09:19:28 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-24 09:19:28 +0000
commitb68aad07ca94035442309cf8c68b039573f949ca (patch)
tree8aecaab73d620460dc80bf827b6f14253cd102d7 /protocols/VKontakte/src/vk.h
parent1eec1e5f5b57fb56fbfeb56fc57777153c14df82 (diff)
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
Diffstat (limited to 'protocols/VKontakte/src/vk.h')
-rw-r--r--protocols/VKontakte/src/vk.h4
1 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
#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)