lib/ewl_misc.h
Go to the documentation of this file.00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */ 00002 #ifndef EWL_MISC_H 00003 #define EWL_MISC_H 00004 00017 typedef void (*Ewl_Shutdown_Hook)(void); 00018 00019 int ewl_init(int *argc, char **argv); 00020 void ewl_print_help(void); 00021 int ewl_shutdown(void); 00022 void ewl_main(void); 00023 void ewl_main_iterate(void); 00024 void ewl_main_quit(void); 00025 void ewl_configure_request(Ewl_Widget *w); 00026 void ewl_realize_request(Ewl_Widget *w); 00027 void ewl_realize_cancel_request(Ewl_Widget *w); 00028 void ewl_destroy_request(Ewl_Widget *w); 00029 void ewl_canvas_destroy(void *evas); 00030 void ewl_canvas_object_destroy(void *obj); 00031 void ewl_debug_indent_print(int mod_dir); 00032 void ewl_shutdown_add(Ewl_Shutdown_Hook hook); 00033 00034 /* 00035 * Internal stuff 00036 */ 00037 #undef DEBUG_MALLOCDEBUG 00038 #ifdef DEBUG_MALLOCDEBUG 00039 char *strdup(const char *str); 00040 #endif 00041 00046 #endif