summaryrefslogtreecommitdiff
path: root/include/dom/html
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-02-05 10:08:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-02-05 10:08:08 +0000
commit4d0d4f1f65bec6419cd7197939612c702fc2d2e0 (patch)
tree661366cf30056ec9576414f61b20f1605a08a6e4 /include/dom/html
parentf5f3e8e99e6085ee61373af500645bb202045f9b (diff)
downloadlibdom-4d0d4f1f65bec6419cd7197939612c702fc2d2e0.tar.gz
libdom-4d0d4f1f65bec6419cd7197939612c702fc2d2e0.tar.bz2
Remove parser unpleasantness from HTMLDocument
svn path=/trunk/libdom/; revision=13419
Diffstat (limited to 'include/dom/html')
-rw-r--r--include/dom/html/html_document.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/dom/html/html_document.h b/include/dom/html/html_document.h
index d03c117..16ade80 100644
--- a/include/dom/html/html_document.h
+++ b/include/dom/html/html_document.h
@@ -19,11 +19,6 @@ struct dom_nodelist;
typedef struct dom_html_document dom_html_document;
-typedef enum {
- DOM_HTML_PARSER = 0,
- DOM_XML_PARSER = 1
-} dom_parser_type;
-
/**
* Callbacks for UI related function calls
*/
@@ -43,7 +38,7 @@ typedef struct dom_ui_handler dom_ui_handler;
/* Create a HTMLDocument */
dom_exception dom_html_document_create(dom_msg msg, void *msg_pw,
dom_events_default_action_fetcher daf, dom_ui_handler *ui,
- dom_parser_type pt, dom_html_document **doc);
+ dom_html_document **doc);
/* Parse a data chunk into the HTMLDocument */
dom_exception dom_html_document_write_data(uint8_t *data, size_t len);