22 #ifndef ASYLUM_EVENTHANDLER_H 23 #define ASYLUM_EVENTHANDLER_H 25 #include "common/func.h" 26 #include "common/events.h" 30 enum AsylumEventType {
31 EVENT_ASYLUM_MIDI = 953,
32 EVENT_ASYLUM_CHANGECD = 5120,
33 EVENT_ASYLUM_INIT = 5122,
34 EVENT_ASYLUM_UPDATE = 5121,
35 EVENT_ASYLUM_DEINIT = 5123,
36 EVENT_ASYLUM_CURSOR = 5124,
37 EVENT_ASYLUM_SUBTITLE = 5125,
38 EVENT_ASYLUM_MUSIC = 5376,
40 EVENT_ASYLUM_ACTIVATE = 0xFFF0
51 AsylumEvent(AsylumEventType msgType, int32 p1 = 0, int32 p2 = 0) : Event() {
65 virtual bool handleEvent(
const AsylumEvent &ev) = 0;
70 #endif // ASYLUM_EVENTHANDLER_H
EventType
Definition: events.h:49
Definition: eventhandler.h:43
Definition: eventhandler.h:61
EventType type
Definition: events.h:202