diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-05 23:52:56 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-05 23:52:56 +0000 |
commit | 6ab986acd57b516b5b9aff04ee09d57db02ed0b6 (patch) | |
tree | 4041bc41d72721a94dc573e5be3cb0f80988e004 /include/dom/bootstrap/implregistry.h | |
parent | cf7e104bab600e6c22c3bf8d1d6cbc138360038b (diff) | |
download | libdom-6ab986acd57b516b5b9aff04ee09d57db02ed0b6.tar.gz libdom-6ab986acd57b516b5b9aff04ee09d57db02ed0b6.tar.bz2 |
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
Diffstat (limited to 'include/dom/bootstrap/implregistry.h')
-rw-r--r-- | include/dom/bootstrap/implregistry.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/include/dom/bootstrap/implregistry.h b/include/dom/bootstrap/implregistry.h deleted file mode 100644 index e14738c..0000000 --- a/include/dom/bootstrap/implregistry.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This file is part of libdom. - * Licensed under the MIT License, - * http://www.opensource.org/licenses/mit-license.php - * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org> - */ - -#ifndef dom_bootstrap_implregistry_h_ -#define dom_bootstrap_implregistry_h_ - -#include <dom/core/exceptions.h> -#include <dom/functypes.h> - -struct dom_implementation; -struct dom_implementation_list; -struct dom_string; - -/* Initialise the implementation registry */ -dom_exception dom_implregistry_initialise( - dom_alloc allocator, void *ptr); - -/* Retrieve a DOM implementation from the registry */ -dom_exception dom_implregistry_get_dom_implementation( - struct dom_string *features, - struct dom_implementation **impl); - -/* Get a list of DOM implementations that support the requested features */ -dom_exception dom_implregistry_get_dom_implementation_list( - struct dom_string *features, - struct dom_implementation_list **list); - -#endif |