From ac42344d05ec326f0063133498ec1c040e924db2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 5 Dec 2010 23:52:56 +0000 Subject: Remove bootstrap infrastructure, and just make dom_implementation a stub. We only support a single implementation, so all the registry and implementation list stuff is totally unnecesary and overcomplex svn path=/trunk/dom/; revision=11017 --- include/dom/core/implementation.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'include/dom/core/implementation.h') diff --git a/include/dom/core/implementation.h b/include/dom/core/implementation.h index 7865b10..6fb381c 100644 --- a/include/dom/core/implementation.h +++ b/include/dom/core/implementation.h @@ -18,24 +18,19 @@ struct dom_document; struct dom_document_type; -typedef struct dom_implementation dom_implementation; - -void dom_implementation_ref(struct dom_implementation *impl); -void dom_implementation_unref(struct dom_implementation *impl); +typedef const char *dom_implementation; dom_exception dom_implementation_has_feature( - struct dom_implementation *impl, struct dom_string *feature, struct dom_string *version, bool *result); dom_exception dom_implementation_create_document_type( - struct dom_implementation *impl, struct dom_string *qname, + struct dom_string *qname, struct dom_string *public_id, struct dom_string *system_id, dom_alloc alloc, void *pw, struct dom_document_type **doctype); dom_exception dom_implementation_create_document( - struct dom_implementation *impl, struct dom_string *namespace, struct dom_string *qname, struct dom_document_type *doctype, dom_alloc alloc, void *pw, @@ -43,7 +38,6 @@ dom_exception dom_implementation_create_document( struct dom_document **doc); dom_exception dom_implementation_get_feature( - struct dom_implementation *impl, struct dom_string *feature, struct dom_string *version, void **object); -- cgit v1.2.3