00001 00019 #ifndef _EVENTHANDLER_HCH 00020 #define _EVENTHANDLER_HCH 1 00021 00022 00023 00024 #define LOAD_PRESET_RESET 0x000 00025 #define LOAD_PRESET_DEMO 0x180 00026 00027 00028 00029 /* 00030 * This is the main eventhandler loop. We require pointers to the event struct 00031 * to store actions to be performed and a mousedata pointer so that we know on 00032 * what mousestate to respond. We never returns! 00033 */ 00034 void eventhandler_main(audiodata_t *audiodata, events_t *events, mousedata_t *mousedata); 00035 00036 #else 00037 #error "ERROR file eventhandler.hch multiple times included" 00038 #endif /* --- _EVENTHANDLER_HCH --- */ 00039