From 19052001541aeac269b846d2a81e7f78e7c26c2d Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 4 Aug 2019 10:47:34 +0100 Subject: Add content handlers for queries Signed-off-by: Daniel Silverstone --- content/handlers/html/html_css.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'content/handlers/html/html_css.c') diff --git a/content/handlers/html/html_css.c b/content/handlers/html/html_css.c index 2a2fde6c6..f65c2559c 100644 --- a/content/handlers/html/html_css.c +++ b/content/handlers/html/html_css.c @@ -129,6 +129,16 @@ html_convert_css_callback(hlcache_handle *css, /* Really don't want this to continue after the switch */ return NSERROR_OK; + case CONTENT_MSG_QUERY: + /** \todo QUERY - Decide what is right here */ + /* For now, the only safe decision is to cancel the fetch */ + event->data.query_msg->cb(false, event->data.query_msg->cb_pw); + return NSERROR_OK; + + case CONTENT_MSG_QUERY_FINISHED: + /** \todo QUERY - Decide what is right here */ + return NSERROR_OK; + default: break; } -- cgit v1.2.3