ui/common/object.h

changeset 115
e57ca2747782
parent 113
dde28a806552
equal deleted inserted replaced
114:3da24640513a 115:e57ca2747782
28 28
29 #ifndef UIC_OBJECT_H 29 #ifndef UIC_OBJECT_H
30 #define UIC_OBJECT_H 30 #define UIC_OBJECT_H
31 31
32 #include "../ui/toolkit.h" 32 #include "../ui/toolkit.h"
33 #include <cx/map.h>
33 34
34 #ifdef __cplusplus 35 #ifdef __cplusplus
35 extern "C" { 36 extern "C" {
36 #endif 37 #endif
38
39 typedef struct UiObjectPrivate {
40 UiObject obj;
41 CxMap *ext;
42 } UiObjectPrivate;
37 43
38 typedef void (*ui_object_callback)(UiObject *obj, void *userdata); 44 typedef void (*ui_object_callback)(UiObject *obj, void *userdata);
39 45
40 void ui_register_object_creation_callback(ui_object_callback func, void *userdata); 46 void ui_register_object_creation_callback(ui_object_callback func, void *userdata);
41 void ui_register_object_destruction_callback(ui_object_callback func, void *userdata); 47 void ui_register_object_destruction_callback(ui_object_callback func, void *userdata);

mercurial