diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-31 23:53:51 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-09-21 10:53:41 +0100 |
commit | 2e8861dc05325c88cfb8130e7eddd0967e4d4b09 (patch) | |
tree | e2b97ebfd3f79f3045b0232e13d682bda5bc3b33 /desktop/searchweb.h | |
parent | e84990bc891c7a75930fddd614516d3eb170cd75 (diff) | |
download | netsurf-2e8861dc05325c88cfb8130e7eddd0967e4d4b09.tar.gz netsurf-2e8861dc05325c88cfb8130e7eddd0967e4d4b09.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. * |