From 4d0d4f1f65bec6419cd7197939612c702fc2d2e0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 5 Feb 2012 10:08:08 +0000 Subject: Remove parser unpleasantness from HTMLDocument svn path=/trunk/libdom/; revision=13419 --- include/dom/html/html_document.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include') 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); -- cgit v1.2.3