summaryrefslogtreecommitdiff
path: root/src/core/doc_fragment.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-28 14:34:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-28 14:34:59 +0000
commitf690243cd9e852396aecc2c4d054e1e2478aff09 (patch)
treed3fe522992dec910758c2b86d0d02ec9c2d005a9 /src/core/doc_fragment.h
parent5b61881600d30941e4a4b53160416f80b11bf7b3 (diff)
downloadlibdom-f690243cd9e852396aecc2c4d054e1e2478aff09.tar.gz
libdom-f690243cd9e852396aecc2c4d054e1e2478aff09.tar.bz2
Sort out somewhat messy object construction.
We now have explicit types for all classes (rather than using the parent class for those which inherit but add no extra data content). svn path=/trunk/dom/; revision=3465
Diffstat (limited to 'src/core/doc_fragment.h')
-rw-r--r--src/core/doc_fragment.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/doc_fragment.h b/src/core/doc_fragment.h
new file mode 100644
index 0000000..9e27811
--- /dev/null
+++ b/src/core/doc_fragment.h
@@ -0,0 +1,21 @@
+/*
+ * 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_internal_core_documentfragment_h_
+#define dom_internal_core_documentfragment_h_
+
+#include <dom/core/exceptions.h>
+
+struct dom_document_fragment;
+struct dom_document;
+struct dom_string;
+
+dom_exception dom_document_fragment_create(struct dom_document *doc,
+ struct dom_string *name, struct dom_string *value,
+ struct dom_document_fragment **result);
+
+#endif