summaryrefslogtreecommitdiff
path: root/src/enums/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 17:23:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 17:23:55 +0300
commit0bdaa773a4ee5a678c400a1b097190e3856ee5a6 (patch)
treed9855dad5292cc218be9251fecf3f53aa0fede35 /src/enums/net
parent7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7 (diff)
downloadmv-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.tar.gz
mv-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.tar.bz2
mv-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.tar.xz
mv-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.zip
Convert UpdateType enum into strong typed enum.
Diffstat (limited to 'src/enums/net')
-rw-r--r--src/enums/net/updatetype.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enums/net/updatetype.h b/src/enums/net/updatetype.h
index 2245cec28..a461774b0 100644
--- a/src/enums/net/updatetype.h
+++ b/src/enums/net/updatetype.h
@@ -23,15 +23,15 @@
#ifndef ENUMS_NET_UPDATETYPE_H
#define ENUMS_NET_UPDATETYPE_H
-namespace UpdateType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(UpdateType)
{
- enum Type
- {
- Normal = 0,
- Close = 1,
- Skip = 2,
- Custom = 4
- };
-} // namespace UpdateType
+ Normal = 0,
+ Close = 1,
+ Skip = 2,
+ Custom = 4
+}
+enumEnd(UpdateType);
#endif // ENUMS_NET_UPDATETYPE_H