diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-24 19:38:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-24 19:38:25 +0000 |
commit | 0368a38e1b33e199c66f2390a14604c9af97964d (patch) | |
tree | adc42deb2e88db05022dc2840d18b6a0ef33dcfc /protocols/WhatsApp/src/theme.h | |
parent | 3dbfc94ab59e6c8713aef292dd1253a966a01b02 (diff) |
enhanced contact menu items control
git-svn-id: http://svn.miranda-ng.org/main/trunk@5127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/theme.h')
-rw-r--r-- | protocols/WhatsApp/src/theme.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/protocols/WhatsApp/src/theme.h b/protocols/WhatsApp/src/theme.h index c5881ca03a..2e67c54365 100644 --- a/protocols/WhatsApp/src/theme.h +++ b/protocols/WhatsApp/src/theme.h @@ -5,15 +5,16 @@ void InitIcons(void); HANDLE GetIconHandle(const char *name);
//void InitContactMenus(void);
-void EnableMenuItem(HANDLE hMenuItem, bool enable);
/* Contact menu item indexes */
-#define CMI_ADD_CONTACT_TO_GROUP 0
-#define CMI_REMOVE_CONTACT_FROM_GROUP 1
-#define CMI_LEAVE_GROUP 2
-#define CMI_REMOVE_GROUP 3
-#define CMI_CHANGE_GROUP_SUBJECT 4
-
-#define CMITEMS_COUNT 5
+enum
+{
+ CMI_ADD_CONTACT_TO_GROUP,
+ CMI_REMOVE_CONTACT_FROM_GROUP,
+ CMI_LEAVE_GROUP,
+ CMI_REMOVE_GROUP,
+ CMI_CHANGE_GROUP_SUBJECT,
+ CMITEMS_COUNT
+};
#endif
\ No newline at end of file |