summaryrefslogtreecommitdiff
path: root/src/bw.h
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-11-14 22:27:26 +0100
committerjcid <devnull@localhost>2007-11-14 22:27:26 +0100
commitd56cac735b0548bbca874839094fc42774d66d96 (patch)
tree8de00866aebbb33ffe188adb6d2c492aa07cd74a /src/bw.h
parentec1b4def65f1a2197cd7c575f8332d7d7d3f1276 (diff)
Implemented "Load Images" in the page menu and cleaned up html.hh.
Diffstat (limited to 'src/bw.h')
-rw-r--r--src/bw.h7
1 files changed, 6 insertions, 1 deletions
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);