#ifdef E_TYPEDEFS typedef struct _E_Wizard_Page E_Wizard_Page; #else #ifndef E_WIZARD_H #define E_WIZARD_H typedef enum { E_WIZARD_PAGE_STATE_INIT, E_WIZARD_PAGE_STATE_SHOW, E_WIZARD_PAGE_STATE_HIDE, E_WIZARD_PAGE_STATE_SHUTDOWN } E_Wizard_Page_State; struct _E_Wizard_Page { void *handle; Evas *evas; int (*init) (E_Wizard_Page *pg, Eina_Bool *need_xdg_desktops, Eina_Bool *need_xdg_icons); int (*shutdown) (E_Wizard_Page *pg); int (*show) (E_Wizard_Page *pg); int (*hide) (E_Wizard_Page *pg); int (*apply) (E_Wizard_Page *pg); E_Wizard_Page_State state; }; EAPI int e_wizard_init(void); EAPI int e_wizard_shutdown(void); EAPI void e_wizard_go(void); EAPI void e_wizard_apply(void); EAPI void e_wizard_next(void); EAPI void e_wizard_page_show(Evas_Object *obj); EAPI E_Wizard_Page *e_wizard_page_add(void *handle, int (*init) (E_Wizard_Page *pg, Eina_Bool *need_xdg_desktops, Eina_Bool *need_xdg_icons), int (*shutdown) (E_Wizard_Page *pg), int (*show) (E_Wizard_Page *pg), int (*hide) (E_Wizard_Page *pg), int (*apply) (E_Wizard_Page *pg) ); EAPI void e_wizard_page_del(E_Wizard_Page *pg); EAPI void e_wizard_button_next_enable_set(int enable); EAPI void e_wizard_title_set(const char *title); EAPI void e_wizard_labels_update(void); EAPI const char *e_wizard_dir_get(void); EAPI void e_wizard_xdg_desktops_reset(void); #endif #endif