summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_menus.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_menus.h')
-rw-r--r--protocols/Tox/src/tox_menus.h17
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