diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-31 23:53:51 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-08-31 23:53:51 +0100 |
commit | 67892ba18f738224e8c5a6e4336b4fe9011c40dd (patch) | |
tree | 7f521ad8fd28d7dce2687adec8f030f81aeff547 /desktop/searchweb.h | |
parent | d43df4b133335c62c6bc4d7c6d6a041ca1d7f62f (diff) | |
download | netsurf-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.h | 11 |
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. * |