diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 17:31:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 17:31:18 +0300 |
commit | bcd76117e26e72ed74f9b8c2856a7128e1c27441 (patch) | |
tree | 0275b1652c31ca4ac3d013f4f11a2de0cd5b587e /src/enums | |
parent | 0bdaa773a4ee5a678c400a1b097190e3856ee5a6 (diff) | |
download | plus-bcd76117e26e72ed74f9b8c2856a7128e1c27441.tar.gz plus-bcd76117e26e72ed74f9b8c2856a7128e1c27441.tar.bz2 plus-bcd76117e26e72ed74f9b8c2856a7128e1c27441.tar.xz plus-bcd76117e26e72ed74f9b8c2856a7128e1c27441.zip |
Convert NotifyFlags enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/resources/notifyflags.h | 27 |
1 files changed, 13 insertions, 14 deletions
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 |