From d56cac735b0548bbca874839094fc42774d66d96 Mon Sep 17 00:00:00 2001 From: jcid Date: Wed, 14 Nov 2007 22:27:26 +0100 Subject: Implemented "Load Images" in the page menu and cleaned up html.hh. --- src/bw.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/bw.h') diff --git a/src/bw.h b/src/bw.h index 82a590bb..1d4de9e5 100644 --- a/src/bw.h +++ b/src/bw.h @@ -24,9 +24,12 @@ struct _BrowserWindow /* All the rendering is done by this. * It is defined as a void pointer to avoid C++ in this structure. - * C++ sources have to include browser.h and cast it into an object. */ + * C++ sources have to include "dw/core.hh" and cast it into an object. */ void *render_layout; + /* Root document(s). Currently only used by DilloHtml */ + Dlist *Docs; + /* A list of active cache clients in the window (The primary Key) */ Dlist *RootClients; /* Image Keys for all active connections in the window */ @@ -82,6 +85,8 @@ void a_Bw_add_client(BrowserWindow *bw, int Key, int Root); int a_Bw_remove_client(BrowserWindow *bw, int ClientKey); void a_Bw_close_client(BrowserWindow *bw, int ClientKey); void a_Bw_stop_clients(BrowserWindow *bw, int flags); +void a_Bw_add_doc(BrowserWindow *bw, void *vdoc); +void a_Bw_remove_doc(BrowserWindow *bw, void *vdoc); void a_Bw_add_url(BrowserWindow *bw, const DilloUrl *Url); void a_Bw_cleanup(BrowserWindow *bw); -- cgit v1.2.3