summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 00:36:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 00:36:56 +0300
commit7969f0590204ac48d74e98c3211bca27693bac44 (patch)
tree78b2952b547aabe9f018e308dc57834322715707 /src/enums
parent478ffec82dae4f55c38ccd424079166ec8c38905 (diff)
downloadplus-7969f0590204ac48d74e98c3211bca27693bac44.tar.gz
plus-7969f0590204ac48d74e98c3211bca27693bac44.tar.bz2
plus-7969f0590204ac48d74e98c3211bca27693bac44.tar.xz
plus-7969f0590204ac48d74e98c3211bca27693bac44.zip
Convert TargetCursorType enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/being/targetcursortype.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/enums/being/targetcursortype.h b/src/enums/being/targetcursortype.h
index a47b1ede0..7bc6cadaf 100644
--- a/src/enums/being/targetcursortype.h
+++ b/src/enums/being/targetcursortype.h
@@ -22,15 +22,15 @@
#ifndef ENUMS_BEING_TARGETCURSORTYPE_H
#define ENUMS_BEING_TARGETCURSORTYPE_H
-namespace TargetCursorType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(TargetCursorType)
{
- enum Type
- {
- NONE = -1,
- NORMAL = 0,
- IN_RANGE,
- NUM_TCT
- };
+ NONE = -1,
+ NORMAL = 0,
+ IN_RANGE,
+ NUM_TCT
}
+enumEnd(TargetCursorType);
#endif // ENUMS_BEING_TARGETCURSORTYPE_H