diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-21 18:06:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-21 18:06:43 +0300 |
commit | 20727e946194e9bf984fc9b4dd7687a59fc82fc1 (patch) | |
tree | 41ab0b6e2cc11be61c7306966815f6a821d905c3 /src/enums | |
parent | e787d4c803476b5d5969dd8578cb8a645a7443cb (diff) | |
download | manaverse-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.gz manaverse-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.bz2 manaverse-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.xz manaverse-20727e946194e9bf984fc9b4dd7687a59fc82fc1.zip |
Convert chattabtype into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/gui/chattabtype.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/enums/gui/chattabtype.h b/src/enums/gui/chattabtype.h index 54f42e6cc..6bc92309e 100644 --- a/src/enums/gui/chattabtype.h +++ b/src/enums/gui/chattabtype.h @@ -21,22 +21,22 @@ #ifndef ENUMS_GUI_CHATTABTYPE_H #define ENUMS_GUI_CHATTABTYPE_H -namespace ChatTabType +#include "enums/simpletypes/enumdefines.h" + +enumStart(ChatTabType) { - enum Type - { - UNKNOWN = 0, - INPUT, - WHISPER, - PARTY, - GUILD, - DEBUG, - TRADE, - BATTLE, - LANG, - GM, - CHANNEL - }; -} // namespace ChatTabType + UNKNOWN = 0, + INPUT, + WHISPER, + PARTY, + GUILD, + DEBUG, + TRADE, + BATTLE, + LANG, + GM, + CHANNEL +} +enumEnd(ChatTabType); #endif // ENUMS_GUI_CHATTABTYPE_H |