From d19a80ba02d6b4baab923fc80408e5c878f8c520 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Jun 2013 18:03:02 +0000 Subject: fix for Skype contact's menu git-svn-id: http://svn.miranda-ng.org/main/trunk@5101 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'protocols/Skype/src/skype.h') diff --git a/protocols/Skype/src/skype.h b/protocols/Skype/src/skype.h index f5eb253a88..098a5efeb8 100644 --- a/protocols/Skype/src/skype.h +++ b/protocols/Skype/src/skype.h @@ -67,12 +67,16 @@ #define SKYPE_DB_EVENT_TYPE_CONTACTS 10002 #define SKYPE_DB_EVENT_TYPE_CALL 10010 -#define CMI_AUTH_REQUEST 1 -#define CMI_AUTH_GRANT 2 -#define CMI_AUTH_REVOKE 3 -#define CMI_CHAT_BOOKMARK 4 -#define CMI_IGNORE 5 -#define CMI_BLOCK 6 +enum +{ + CMI_AUTH_REQUEST, + CMI_AUTH_GRANT, + CMI_AUTH_REVOKE, + CMI_CHAT_BOOKMARK, + CMI_IGNORE, + CMI_BLOCK, + CMI_MAX // this item shall be the last one +}; #define SMI_CHAT_INVITE 1 #define SMI_CHAT_BOOKMARKS 2 -- cgit v1.2.3