summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 00:27:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 00:27:14 +0300
commit478ffec82dae4f55c38ccd424079166ec8c38905 (patch)
tree96f9c597164c4bed24b5ab2040dcfffd1df624d7 /src/enums
parent67dd1ac770ed04fc7cbbbaa160c00f648d490858 (diff)
downloadmanaplus-478ffec82dae4f55c38ccd424079166ec8c38905.tar.gz
manaplus-478ffec82dae4f55c38ccd424079166ec8c38905.tar.bz2
manaplus-478ffec82dae4f55c38ccd424079166ec8c38905.tar.xz
manaplus-478ffec82dae4f55c38ccd424079166ec8c38905.zip
Convert TargetCursorSize enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/being/targetcursorsize.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enums/being/targetcursorsize.h b/src/enums/being/targetcursorsize.h
index 5344a7ad5..7bd048086 100644
--- a/src/enums/being/targetcursorsize.h
+++ b/src/enums/being/targetcursorsize.h
@@ -22,15 +22,15 @@
#ifndef ENUMS_BEING_TARGETCURSORSIZE_H
#define ENUMS_BEING_TARGETCURSORSIZE_H
-namespace TargetCursorSize
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(TargetCursorSize)
{
- enum Size
- {
- SMALL = 0,
- MEDIUM,
- LARGE,
- NUM_TC
- };
-} // TargetCursorSize
+ SMALL = 0,
+ MEDIUM,
+ LARGE,
+ NUM_TC
+}
+enumEnd(TargetCursorSize);
#endif // ENUMS_BEING_TARGETCURSORSIZE_H