From 03e7605bcf7fd95da338d2cc546ffe01a16ba2a3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 18 Oct 2014 17:39:03 +0100 Subject: Add call to test whether a browser window may be searched. --- desktop/browser.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'desktop/browser.h') diff --git a/desktop/browser.h b/desktop/browser.h index f4943172e..68545dd20 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -462,6 +462,14 @@ browser_editor_flags browser_window_get_editor_flags(struct browser_window *bw); */ char * browser_window_get_selection(struct browser_window *bw); +/** + * Find out if given browser window can be searched + * + * \param bw browser window to look at + * \return true iff browser window is searchable + */ +bool browser_window_can_search(struct browser_window *bw); + /** * Dump debug info concerning the browser window's contents to file -- cgit v1.2.3