From bcd76117e26e72ed74f9b8c2856a7128e1c27441 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Jun 2015 17:31:18 +0300 Subject: Convert NotifyFlags enum into strong typed enum. --- src/enums/resources/notifyflags.h | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'src/enums/resources') diff --git a/src/enums/resources/notifyflags.h b/src/enums/resources/notifyflags.h index e86ee8741..ea2ddd41a 100644 --- a/src/enums/resources/notifyflags.h +++ b/src/enums/resources/notifyflags.h @@ -21,20 +21,19 @@ #ifndef ENUMS_RESOURCES_NOTIFYFLAGS_H #define ENUMS_RESOURCES_NOTIFYFLAGS_H -#include "localconsts.h" +#include "enums/simpletypes/enumdefines.h" -namespace NotifyFlags +enumStart(NotifyFlags) { - enum Type - { - EMPTY = 0, - INT, - STRING, - GUILD, - GUILD_STRING, - PARTY, - PARTY_STRING, - SPEECH - }; -} // namespace NotifyFlags + EMPTY = 0, + INT, + STRING, + GUILD, + GUILD_STRING, + PARTY, + PARTY_STRING, + SPEECH +} +enumEnd(NotifyFlags); + #endif // ENUMS_RESOURCES_NOTIFYFLAGS_H -- cgit v1.2.3-70-g09d2