39 #endif |
39 #endif |
40 |
40 |
41 #define UI_IMPORT __declspec(dllimport) |
41 #define UI_IMPORT __declspec(dllimport) |
42 __declspec(dllimport) int __stdcall myfunc(char *str); |
42 __declspec(dllimport) int __stdcall myfunc(char *str); |
43 |
43 |
|
44 typedef struct UiEventData { |
|
45 UiObject *obj; |
|
46 ui_callback callback; |
|
47 void *user_data; |
|
48 int value; |
|
49 } UiEventData; |
|
50 |
44 UI_IMPORT void __stdcall UIinit(char *appname); |
51 UI_IMPORT void __stdcall UIinit(char *appname); |
45 UI_IMPORT void __stdcall UImain(); |
52 UI_IMPORT void __stdcall UImain(); |
46 UI_IMPORT void __stdcall UIshow(UIWIDGET widget); |
53 UI_IMPORT void __stdcall UIshow(UIWIDGET widget); |
47 |
54 |
48 #ifdef __cplusplus |
55 #ifdef __cplusplus |