summaryrefslogtreecommitdiff
path: root/src/enums/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums/events')
-rw-r--r--src/enums/events/keyeventtype.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/enums/events/keyeventtype.h b/src/enums/events/keyeventtype.h
index 7c96b749a..b04ddab7e 100644
--- a/src/enums/events/keyeventtype.h
+++ b/src/enums/events/keyeventtype.h
@@ -64,16 +64,13 @@
#ifndef ENUMS_EVENTS_KEYEVENTTYPE_H
#define ENUMS_EVENTS_KEYEVENTTYPE_H
-namespace KeyEventType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(KeyEventType)
{
- /**
- * Key event types.
- */
- enum Type
- {
- PRESSED = 0,
- RELEASED
- };
-} // namespace KeyEventType
+ PRESSED = 0,
+ RELEASED
+}
+enumEnd(KeyEventType);
#endif // ENUMS_EVENTS_KEYEVENTTYPE_H