summaryrefslogtreecommitdiff
path: root/src/enums/gui/chatmsgtype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums/gui/chatmsgtype.h')
-rw-r--r--src/enums/gui/chatmsgtype.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/enums/gui/chatmsgtype.h b/src/enums/gui/chatmsgtype.h
index baacb57fd..947a83ff9 100644
--- a/src/enums/gui/chatmsgtype.h
+++ b/src/enums/gui/chatmsgtype.h
@@ -23,20 +23,20 @@
#ifndef ENUMS_GUI_CHATMSGTYPE_H
#define ENUMS_GUI_CHATMSGTYPE_H
-namespace ChatMsgType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(ChatMsgType)
{
- enum Type
- {
- BY_GM = 0,
- BY_PLAYER,
- BY_OTHER,
- BY_SERVER,
- BY_CHANNEL,
- ACT_WHISPER, // getting whispered at
- ACT_IS, // equivalent to "/me" on IRC
- BY_LOGGER,
- BY_UNKNOWN = -1
- };
-} // namespace ChatMsgType
+ BY_GM = 0,
+ BY_PLAYER,
+ BY_OTHER,
+ BY_SERVER,
+ BY_CHANNEL,
+ ACT_WHISPER, // getting whispered at
+ ACT_IS, // equivalent to "/me" on IRC
+ BY_LOGGER,
+ BY_UNKNOWN = -1
+}
+enumEnd(ChatMsgType);
#endif // ENUMS_GUI_CHATMSGTYPE_H