summaryrefslogtreecommitdiff
path: root/src/enums/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 17:31:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 17:31:18 +0300
commitbcd76117e26e72ed74f9b8c2856a7128e1c27441 (patch)
tree0275b1652c31ca4ac3d013f4f11a2de0cd5b587e /src/enums/resources
parent0bdaa773a4ee5a678c400a1b097190e3856ee5a6 (diff)
downloadmv-bcd76117e26e72ed74f9b8c2856a7128e1c27441.tar.gz
mv-bcd76117e26e72ed74f9b8c2856a7128e1c27441.tar.bz2
mv-bcd76117e26e72ed74f9b8c2856a7128e1c27441.tar.xz
mv-bcd76117e26e72ed74f9b8c2856a7128e1c27441.zip
Convert NotifyFlags enum into strong typed enum.
Diffstat (limited to 'src/enums/resources')
-rw-r--r--src/enums/resources/notifyflags.h27
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