#ifndef TOOLKIT_H
#define TOOLKIT_H
#include <inttypes.h>
#include "../ui/toolkit.h"
#include "../common/context.h"
#include "../common/object.h"
#ifdef __cplusplus
extern "C" {
#endif
#define UI_IMPORT __declspec(dllimport)
__declspec(dllimport)
int __stdcall myfunc(
char *str);
typedef struct UiEventData {
UiObject *obj;
ui_callback callback;
void *user_data;
int value;
} UiEventData;
typedef void(*UIcallback)(
void*,
void*);
UI_IMPORT void __stdcall UIinit(
char *appname);
UI_IMPORT void __stdcall UIonstartup(ui_callback f,
void *userdata);
UI_IMPORT void __stdcall UIonopen(ui_callback f,
void *userdata);
UI_IMPORT void __stdcall UIonexit(ui_callback f,
void *userdata);
UI_IMPORT void __stdcall UImain();
UI_IMPORT void __stdcall UIshow(
UIWIDGET widget);
#ifdef __cplusplus
}
#endif
#endif