summaryrefslogtreecommitdiff
path: root/src/enums/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-21 18:06:43 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-21 18:06:43 +0300
commit20727e946194e9bf984fc9b4dd7687a59fc82fc1 (patch)
tree41ab0b6e2cc11be61c7306966815f6a821d905c3 /src/enums/gui
parente787d4c803476b5d5969dd8578cb8a645a7443cb (diff)
downloadmv-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.gz
mv-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.bz2
mv-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.xz
mv-20727e946194e9bf984fc9b4dd7687a59fc82fc1.zip
Convert chattabtype into strong typed enum.
Diffstat (limited to 'src/enums/gui')
-rw-r--r--src/enums/gui/chattabtype.h32
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