From 20727e946194e9bf984fc9b4dd7687a59fc82fc1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Apr 2016 18:06:43 +0300 Subject: Convert chattabtype into strong typed enum. --- src/enums/gui/chattabtype.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/enums') 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 -- cgit v1.2.3-70-g09d2