00001 /* THIS IS A GENERATED FILE, DO NOT EDIT!!! */ 00025 #ifndef __GUI_FACTORY_FRIEND_GEN_H__ 00026 #define __GUI_FACTORY_FRIEND_GEN_H__ 00027 00028 #include "gui_factory_gen.h" 00029 00031 typedef struct gui_factory_private_st_ *gui_factory_private_handle; 00032 00034 typedef struct gui_factory_st_ { 00036 gui_factory_private_handle private_h; 00037 } gui_factory_st; 00038 00042 typedef button_handle 00043 (*gui_factory_create_button_fn)(gui_factory_handle gui_factory_h); 00044 00048 typedef void 00049 (*gui_factory_delete_fn)(gui_factory_handle gui_factory_h); 00050 00056 typedef struct gui_factory_vtable_st_ { 00058 gui_factory_create_button_fn create_button_fn; 00060 gui_factory_delete_fn delete_fn; 00061 } gui_factory_vtable_st; 00062 00063 /* APIs below are documented in their implementation file */ 00064 00065 extern bool 00066 gui_factory_set_vtable(gui_factory_handle gui_factory_h, 00067 gui_factory_vtable_st *vtable); 00068 00069 extern void 00070 gui_factory_friend_delete(gui_factory_handle gui_factory_h); 00071 00072 extern bool 00073 gui_factory_init(gui_factory_handle gui_factory_h); 00074 00075 #endif