00001 /* THIS IS A GENERATED FILE, DO NOT EDIT!!! */ 00025 #ifndef __BUTTON_FRIEND_GEN_H__ 00026 #define __BUTTON_FRIEND_GEN_H__ 00027 00028 #include "button_gen.h" 00029 00031 typedef struct button_private_st_ *button_private_handle; 00032 00034 typedef struct button_st_ { 00036 button_private_handle private_h; 00037 } button_st; 00038 00042 typedef void 00043 (*button_paint_fn)(button_handle button_h); 00044 00048 typedef void 00049 (*button_delete_fn)(button_handle button_h); 00050 00056 typedef struct button_vtable_st_ { 00058 button_paint_fn paint_fn; 00060 button_delete_fn delete_fn; 00061 } button_vtable_st; 00062 00063 /* APIs below are documented in their implementation file */ 00064 00065 extern bool 00066 button_set_vtable(button_handle button_h, 00067 button_vtable_st *vtable); 00068 00069 extern void 00070 button_friend_delete(button_handle button_h); 00071 00072 extern bool 00073 button_init(button_handle button_h); 00074 00075 #endif