From 7969f0590204ac48d74e98c3211bca27693bac44 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 00:36:56 +0300 Subject: Convert TargetCursorType enum into strong typed enum. --- src/enums/being/targetcursortype.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/enums') 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 -- cgit v1.2.3-70-g09d2