diff options
author | James Bursa <james@netsurf-browser.org> | 2004-02-26 17:52:10 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-02-26 17:52:10 +0000 |
commit | c05d6fdc8bce910e5a2f7838c5bf906508f2a32a (patch) | |
tree | 704a4baecee045319926e48e23e265f47c49f251 /desktop | |
parent | 0a4caa5687e90b54d1c69854140efd11f5ad2ed9 (diff) | |
download | netsurf-c05d6fdc8bce910e5a2f7838c5bf906508f2a32a.tar.gz netsurf-c05d6fdc8bce910e5a2f7838c5bf906508f2a32a.tar.bz2 |
[project @ 2004-02-26 17:52:10 by bursa]
Implement back and forward using history.
svn path=/import/netsurf/; revision=572
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 10 | ||||
-rw-r--r-- | desktop/browser.h | 5 |
2 files changed, 2 insertions, 13 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index f6c157697..84b60ff79 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -425,16 +425,6 @@ void browser_window_destroy(struct browser_window *bw) } - -void browser_window_back(struct browser_window* bw) -{ -} - -void browser_window_forward(struct browser_window* bw) -{ -} - - /** * Callback for fetchcache() for download window fetches. */ diff --git a/desktop/browser.h b/desktop/browser.h index 3f2bae61a..e25b26fbe 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -97,9 +97,6 @@ void browser_window_go_post(struct browser_window *bw, const char *url, void browser_window_stop(struct browser_window *bw); void browser_window_destroy(struct browser_window *bw); -void browser_window_back(struct browser_window* bw); -void browser_window_forward(struct browser_window* bw); - int browser_window_action(struct browser_window* bw, struct browser_action* act); void box_under_area(struct box* box, unsigned long x, unsigned long y, unsigned long ox, unsigned long oy, @@ -119,5 +116,7 @@ struct history *history_create(void); void history_add(struct history *history, struct content *content); void history_update(struct history *history, struct content *content); void history_destroy(struct history *history); +void history_back(struct browser_window *bw, struct history *history); +void history_forward(struct browser_window *bw, struct history *history); #endif |