summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/eventhandler.hch
blob: bb48f9f74096ee5755745f2901b3304382804125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*! \file eventhandler.hch
 *
 * \section generic SmartMedia API
 *
 * \section project Project information.
 * Project Graphic Equalizer\n
 * \author O.M. Schinagl
 * \date 20041110
 * \version 0.1
 *
 * \section copyright Copyright
 * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
 *
 * \section history Change history
 * 20041110: O.M. Schinagl\n	Initial version
 *
 ********************************************************************/
 
#ifndef _EVENTHANDLER_HCH
#define _EVENTHANDLER_HCH 1



#define LOAD_PRESET_RESET	0x000
#define LOAD_PRESET_DEMO	0x180



/*
 * This is the main eventhandler loop. We require pointers to the event struct
 * to store actions to be performed and a mousedata pointer so that we know on
 * what mousestate to respond. We never returns!
 */
inline void eventhandler_main(audiodata_t *audiodata, events_t *events, mousedata_t *mousedata, skindata_t *skindata);

#else
#error "ERROR file eventhandler.hch multiple times included"
#endif /* --- _EVENTHANDLER_HCH --- */