From a6d3ceae0ee7cee85020a70b716586425a042900 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 25 May 2014 00:57:48 +0100 Subject: Completely re-write web search provider handling --- desktop/gui.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'desktop/gui.h') diff --git a/desktop/gui.h b/desktop/gui.h index 24838c9df..5710d5328 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -70,6 +70,7 @@ struct download_context; struct nsurl; struct gui_file_table; struct gui_llcache_table; +struct gui_search_web_table; typedef struct nsnsclipboard_styles { size_t start; /**< Start of run */ @@ -489,15 +490,6 @@ struct gui_browser_table { /** called to allow the gui to cleanup */ void (*quit)(void); - /** - * set gui display of a retrieved favicon representing the - * search provider - * - * \param ico may be NULL for local calls; then access current - * cache from search_web_ico() - */ - void (*set_search_ico)(struct hlcache_handle *ico); - /** * core has no fetcher for url */ @@ -573,6 +565,15 @@ struct netsurf_table { */ struct gui_search_table *search; + /** + * Web search table. + * + * Used by the web search provider system. The table is + * optional and may be NULL which uses the default empty + * implementation. + */ + struct gui_search_web_table *search_web; + /** * Low level cache table. * -- cgit v1.2.3