NetSurf
|
Go to the source code of this file.
Functions | |
nserror | amiga_warn_user (const char *warning, const char *detail) |
Warn the user of an event. More... | |
char * | translate_escape_chars (const char *s) |
returns a string with escape chars translated and string converted to local charset (based on remove_underscores from utils.c) More... | |
void | ami_misc_fatal_error (const char *message) |
int32 | amiga_warn_user_multi (const char *body, const char *opt1, const char *opt2, struct Window *win) |
Variables | |
struct gui_file_table * | amiga_file_table |
void ami_misc_fatal_error | ( | const char * | message | ) |
Definition at line 73 of file misc.c.
References ami_misc_req(), and TDRIMAGE_ERROR.
Referenced by ami_gui_get_user_dir(), ami_gui_resources_open(), and main().
nserror amiga_warn_user | ( | const char * | warning, |
const char * | detail | ||
) |
Warn the user of an event.
[in] | warning | A warning looked up in the message translation table |
[in] | detail | Additional text to be displayed or NULL. |
Definition at line 79 of file misc.c.
References ami_misc_req(), ami_utf8_easy(), ASPrintf(), messages_get(), NSERROR_OK, and TDRIMAGE_WARNING.
Referenced by ami_bitmap_get_generic(), ami_cw_mouse_pos(), ami_cw_redraw(), ami_cw_redraw_rect(), ami_cw_window_size(), ami_do_redraw(), ami_do_redraw_limits(), ami_file_open(), ami_font_open(), ami_gui_event(), ami_gui_new_blank_tab(), ami_gui_scroll_internal(), ami_handle_applib(), ami_handle_appmsg(), ami_mouse_to_ns_coords(), ami_ns_rect_to_ibox(), ami_plot_ra_alloc(), ami_print(), ami_refresh_window(), ami_switch_tab(), ami_text_box_at_point(), ami_theme_init(), ami_throbber_update(), gui_download_window_done(), gui_download_window_error(), gui_init2(), gui_window_create(), gui_window_get_dimensions(), gui_window_place_caret(), gui_window_set_icon(), gui_window_set_scroll(), gui_window_stop_throbber(), gui_window_update_extent(), HOOKF(), and RXHOOKF().
int32 amiga_warn_user_multi | ( | const char * | body, |
const char * | opt1, | ||
const char * | opt2, | ||
struct Window * | win | ||
) |
Definition at line 93 of file misc.c.
References ami_utf8_easy(), ASPrintf(), messages_get(), and TDRIMAGE_WARNING.
Referenced by ami_download_check_overwrite(), and ami_gui_close_tabs().
char * translate_escape_chars | ( | const char * | s | ) |
returns a string with escape chars translated and string converted to local charset (based on remove_underscores from utils.c)
Definition at line 246 of file misc.c.
References ami_utf8_easy().
Referenced by gui_window_create().
|
extern |