diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:36:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:36:56 +0300 |
commit | 7969f0590204ac48d74e98c3211bca27693bac44 (patch) | |
tree | 78b2952b547aabe9f018e308dc57834322715707 /src/enums | |
parent | 478ffec82dae4f55c38ccd424079166ec8c38905 (diff) | |
download | mv-7969f0590204ac48d74e98c3211bca27693bac44.tar.gz mv-7969f0590204ac48d74e98c3211bca27693bac44.tar.bz2 mv-7969f0590204ac48d74e98c3211bca27693bac44.tar.xz mv-7969f0590204ac48d74e98c3211bca27693bac44.zip |
Convert TargetCursorType enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/being/targetcursortype.h | 16 |
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 |