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 #import "../ui/toolkit.h"
30 #import "../common/context.h"
31
32 @interface EventData : NSObject
33 @property UiObject *obj;
34 @property ui_callback callback;
35 @property
void *userdata;
36 @property
void *data;
37 @property
int value;
38
39 - (EventData*)init:(ui_callback)cb userdata:(
void*)userdata;
40
41 - (
void)handleEvent:(id)sender;
42
43 @end
44