NetSurf
Functions
cookies.h File Reference

Interface to riscos cookie viewing using riscos core window. More...

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

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.

Function Documentation

◆ ro_gui_cookies_check_menu()

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().

Here is the caller graph for this function:

◆ ro_gui_cookies_check_window()

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().

Here is the caller graph for this function:

◆ ro_gui_cookies_finalise()

nserror ro_gui_cookies_finalise ( void  )

Free any resources allocated for the cookie window.

Returns
NSERROR_OK on success else appropriate error code on faliure.

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ro_gui_cookies_initialise()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ro_gui_cookies_present()

nserror ro_gui_cookies_present ( const char *  search_term)

make the cookie window visible.

Returns
NSERROR_OK on success else appropriate error code on faliure.

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().

Here is the call graph for this function:
Here is the caller graph for this function: