diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2012-02-05 10:08:08 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2012-02-05 10:08:08 +0000 |
commit | 4d0d4f1f65bec6419cd7197939612c702fc2d2e0 (patch) | |
tree | 661366cf30056ec9576414f61b20f1605a08a6e4 /src/html/html_document.h | |
parent | f5f3e8e99e6085ee61373af500645bb202045f9b (diff) | |
download | libdom-4d0d4f1f65bec6419cd7197939612c702fc2d2e0.tar.gz libdom-4d0d4f1f65bec6419cd7197939612c702fc2d2e0.tar.bz2 |
Remove parser unpleasantness from HTMLDocument
svn path=/trunk/libdom/; revision=13419
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r-- | src/html/html_document.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h index a865695..658836b 100644 --- a/src/html/html_document.h +++ b/src/html/html_document.h @@ -12,32 +12,23 @@ #include "core/document.h" -struct dom_hubbub_parser; -struct dom_xml_parser; - /** * The dom_html_document class */ struct dom_html_document { struct dom_document base; /**< The base class */ - union { - struct dom_hubbub_parser *hp; - struct dom_xml_parser *xp; - } parser; - /**< The underlaying parser of this document */ dom_string *title; /**< HTML document title */ dom_string *referer; /**< HTML document referer */ dom_string *domain; /**< HTML document domain */ - dom_string *url; /**< HTML document URL */ + dom_string *url; /**< HTML document URL */ dom_string *cookie; /**< HTML document cookie */ }; /* Initialise a HTMLDocument */ dom_exception _dom_html_document_initialise(dom_html_document *doc, dom_msg msg, void *msg_pw, - dom_events_default_action_fetcher daf, dom_ui_handler *ui, - dom_parser_type pt); + dom_events_default_action_fetcher daf, dom_ui_handler *ui); /* Finalise a HTMLDocument */ void _dom_html_document_finalise(dom_html_document *doc); /* Destroy a HTMLDocument */ |