diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2009-03-23 22:22:30 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2009-03-23 22:22:30 +0000 |
commit | 0a7e10819b40d34ce5b13e582ac057e3fe1abfe6 (patch) | |
tree | 6a8fe7b430b372fe6c7ada538e897b459e49047e /desktop/browser.h | |
parent | 972cd147aa05f86a555641a74481404e4cc152db (diff) | |
download | netsurf-0a7e10819b40d34ce5b13e582ac057e3fe1abfe6.tar.gz netsurf-0a7e10819b40d34ce5b13e582ac057e3fe1abfe6.tar.bz2 |
Add functions for checking if back/forward/stop/reload actions are currently available for a given browser window.
svn path=/trunk/netsurf/; revision=6827
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index ef9a3b061..062c0dec4 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -250,6 +250,11 @@ void browser_form_submit(struct browser_window *bw, struct browser_window *targe void browser_window_redraw_rect(struct browser_window *bw, int x, int y, int width, int height); +bool browser_window_back_available(struct browser_window *bw); +bool browser_window_forward_available(struct browser_window *bw); +bool browser_window_reload_available(struct browser_window *bw); +bool browser_window_stop_available(struct browser_window *bw); + /* In platform specific hotlist.c. */ void hotlist_visited(struct content *content); |