diff options
author | James Bursa <james@netsurf-browser.org> | 2003-11-15 00:26:42 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-11-15 00:26:42 +0000 |
commit | 64941a66d2474e414ca0d4bbe92f106d8a5e0c7a (patch) | |
tree | b2f271220c534be831250dfe9fab8d19e396ddbf /desktop/browser.h | |
parent | c617bbd432a17def3dcb8f2f2a627dd3391fe09a (diff) | |
download | netsurf-64941a66d2474e414ca0d4bbe92f106d8a5e0c7a.tar.gz netsurf-64941a66d2474e414ca0d4bbe92f106d8a5e0c7a.tar.bz2 |
[project @ 2003-11-15 00:26:41 by bursa]
New history window.
svn path=/import/netsurf/; revision=418
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index 2afbd83bb..e25472631 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -9,6 +9,7 @@ #ifndef _NETSURF_DESKTOP_BROWSER_H_ #define _NETSURF_DESKTOP_BROWSER_H_ +#include <stdbool.h> #include <time.h> #include "netsurf/content/content.h" #include "netsurf/desktop/gui.h" @@ -40,6 +41,7 @@ struct history struct history* history_create(char* desc, char* url); void history_remember(struct history* current, char* desc, char* url); +struct history_entry; struct browser_window { @@ -51,6 +53,8 @@ struct browser_window void *current_content_state; struct content* loading_content; struct history* history; + struct history_entry *history_entry; + bool history_add; clock_t time0; char* url; @@ -123,4 +127,7 @@ void browser_window_reformat(struct browser_window* bw, int scroll_to_top); void browser_window_key_press(struct browser_window *bw, char key); +struct history_entry * history_add(struct history_entry *current, + char *url, char *title); + #endif |