NetSurf
|
Interface to riscos cookie viewing using riscos core window. More...
Go to the source code of this file.
Functions | |
void | ro_gui_cookies_initialise (void) |
initialise the cookies window template ready for subsequent use. More... | |
nserror | ro_gui_cookies_present (const char *search_term) |
make the cookie window visible. More... | |
nserror | ro_gui_cookies_finalise (void) |
Free any resources allocated for the cookie window. More... | |
bool | ro_gui_cookies_check_window (wimp_w window) |
check if window handle is for the cookies window More... | |
bool | ro_gui_cookies_check_menu (wimp_menu *menu) |
check if menu handle is for the cookies menu More... | |
Interface to riscos cookie viewing using riscos core window.
The interface assumes there is only a single cookie window which is presented (shown) when asked for and hidden by usual toolkit mechanics.
The destructor is called once during browser shutdown
Definition in file cookies.h.
bool ro_gui_cookies_check_menu | ( | wimp_menu * | menu | ) |
check if menu handle is for the cookies menu
Definition at line 510 of file cookies.c.
References cookie_window, and ro_cookie_window::menu.
Referenced by ro_gui_interactive_help_request().
bool ro_gui_cookies_check_window | ( | wimp_w | window | ) |
check if window handle is for the cookies window
Definition at line 499 of file cookies.c.
References cookie_window, ro_cookie_window::core, and ro_corewindow::wh.
Referenced by ro_gui_interactive_help_request().
nserror ro_gui_cookies_finalise | ( | void | ) |
Free any resources allocated for the cookie window.
Definition at line 478 of file cookies.c.
References cookie_manager_fini(), cookie_window, ro_cookie_window::core, NSERROR_OK, and ro_corewindow_fini().
Referenced by gui_quit().
void ro_gui_cookies_initialise | ( | void | ) |
initialise the cookies window template ready for subsequent use.
Definition at line 471 of file cookies.c.
References dialog_cookie_template, and ro_gui_dialog_load_template().
Referenced by ro_gui_dialog_init().
nserror ro_gui_cookies_present | ( | const char * | search_term | ) |
make the cookie window visible.
Definition at line 449 of file cookies.c.
References cookie_manager_set_search_string(), cookie_window, ro_cookie_window::core, NSERROR_OK, NSLOG, ro_cookie_init(), ro_gui_dialog_open_top(), ro_corewindow::toolbar, and ro_corewindow::wh.
Referenced by ro_gui_iconbar_menu_select(), and ro_gui_window_menu_select().