mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-22 09:24:15 +03:00
desktop: Expose llcache query handler temporarily
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
6b4610edc9
commit
3bd7a2ddd6
@ -359,4 +359,11 @@ nserror browser_window_history_get_scroll(struct browser_window *bw,
|
||||
void browser_window_history_destroy(struct browser_window *bw);
|
||||
|
||||
|
||||
/** \todo QUERY - Remove this include */
|
||||
#include "content/llcache.h"
|
||||
/** \todo QUERY - Remove this import */
|
||||
nserror netsurf_llcache_query_handler(
|
||||
const llcache_query *query,
|
||||
void *pw, llcache_query_response cb, void *cbpw);
|
||||
|
||||
#endif
|
||||
|
@ -52,6 +52,10 @@
|
||||
#include "desktop/gui_internal.h"
|
||||
#include "netsurf/netsurf.h"
|
||||
|
||||
|
||||
/** \todo QUERY - Remove this import later */
|
||||
#include "desktop/browser_private.h"
|
||||
|
||||
/** speculative pre-conversion small image size
|
||||
*
|
||||
* Experimenting by visiting every page from default page in order and
|
||||
@ -293,13 +297,18 @@ static nserror netsurf__handle_login(const llcache_query *query,
|
||||
/**
|
||||
* Dispatch a low-level cache query to the frontend
|
||||
*
|
||||
* \todo QUERY - This should end up as part of browser_window_callback
|
||||
*
|
||||
* NOTE: Right now this is exported so that it can be invoked from the
|
||||
* browser window callback
|
||||
*
|
||||
* \param query Query descriptor
|
||||
* \param pw Private data
|
||||
* \param cb Continuation callback
|
||||
* \param cbpw Private data for continuation
|
||||
* \return NSERROR_OK
|
||||
*/
|
||||
static nserror netsurf_llcache_query_handler(const llcache_query *query,
|
||||
nserror netsurf_llcache_query_handler(const llcache_query *query,
|
||||
void *pw, llcache_query_response cb, void *cbpw)
|
||||
{
|
||||
nserror res = NSERROR_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user