summaryrefslogtreecommitdiff
path: root/desktop/searchweb.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-31 23:53:51 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-31 23:53:51 +0100
commit67892ba18f738224e8c5a6e4336b4fe9011c40dd (patch)
tree7f521ad8fd28d7dce2687adec8f030f81aeff547 /desktop/searchweb.h
parentd43df4b133335c62c6bc4d7c6d6a041ca1d7f62f (diff)
downloadnetsurf-67892ba18f738224e8c5a6e4336b4fe9011c40dd.tar.gz
netsurf-67892ba18f738224e8c5a6e4336b4fe9011c40dd.tar.bz2
make web search icon setting work properly
Diffstat (limited to 'desktop/searchweb.h')
-rw-r--r--desktop/searchweb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/searchweb.h b/desktop/searchweb.h
index a96e7787b..69748b6d6 100644
--- a/desktop/searchweb.h
+++ b/desktop/searchweb.h
@@ -72,6 +72,17 @@ enum search_web_omni_flags {
*/
nserror search_web_omni(const char *term, enum search_web_omni_flags flags, struct nsurl **url_out);
+
+/**
+ * obtain the current providers bitmap
+ *
+ * obtain the icon representing the current web search provider
+ *
+ * \param bitmap_out recives the resulting bitmap which may be NULL
+ * \return NSERROR_OK on success or NSERROR_INIT_FAILED if not initialised
+ */
+nserror search_web_get_provider_bitmap(struct bitmap **bitmap_out);
+
/**
* Change the currently selected web search provider.
*