diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-10 17:54:23 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-10 17:54:23 +0000 |
commit | 9cecda91ac7e563b14fdba9d9cd5feea3faccf69 (patch) | |
tree | 69851e0ba714e6355482cc8f76455fa9e5437883 /protocols/Tox/src/tox_menus.h | |
parent | a5b1d360d298c6a81f09fa65a609736bc9b8fe52 (diff) |
Tox: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12750 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_menus.h')
-rw-r--r-- | protocols/Tox/src/tox_menus.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/protocols/Tox/src/tox_menus.h b/protocols/Tox/src/tox_menus.h index bd3308afdd..0becb02269 100644 --- a/protocols/Tox/src/tox_menus.h +++ b/protocols/Tox/src/tox_menus.h @@ -3,13 +3,20 @@ #define CMI_POSITION -201001000
-#define CMI_AUTH_REQUEST 0
-#define CMI_AUTH_GRANT 1
-#define CMI_MAX 2 // this item shall be the last one
+enum CMI_MENU_ITEMS
+{
+ CMI_AUTH_REQUEST,
+ CMI_AUTH_GRANT,
+ CMI_MAX // this item shall be the last one
+};
#define SMI_POSITION 200000
-#define SMI_TOXID_COPY 0
-#define SMI_GROUPCHAT_CREATE 1
+enum SMI_MENU_ITEMS
+{
+ SMI_TOXID_COPY,
+ SMI_GROUPCHAT_CREATE,
+ SMI_MAX // this item shall be the last one
+};
#endif //_TOX_MENUS_H_
\ No newline at end of file |