From 64941a66d2474e414ca0d4bbe92f106d8a5e0c7a Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 15 Nov 2003 00:26:42 +0000 Subject: [project @ 2003-11-15 00:26:41 by bursa] New history window. svn path=/import/netsurf/; revision=418 --- desktop/browser.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'desktop/browser.h') 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 #include #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 -- cgit v1.2.3