summaryrefslogtreecommitdiff
path: root/include/dom/core/node.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-26 22:19:48 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-26 22:19:48 +0000
commit4aa51a22bf3e600ed7d8fde4a7ca60bc2ecca02b (patch)
tree07ad40b1cb4623ecd3d1d7df5be0cc5211156fec /include/dom/core/node.h
parentd208ad37e9dea0e3854e70eef40e33716c54aff0 (diff)
downloadlibdom-4aa51a22bf3e600ed7d8fde4a7ca60bc2ecca02b.tar.gz
libdom-4aa51a22bf3e600ed7d8fde4a7ca60bc2ecca02b.tar.bz2
Implement type-specific node constructors and veneer the appropriate Document APIs onto them.
svn path=/trunk/dom/; revision=3463
Diffstat (limited to 'include/dom/core/node.h')
-rw-r--r--include/dom/core/node.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/dom/core/node.h b/include/dom/core/node.h
index 7db34f6..e566622 100644
--- a/include/dom/core/node.h
+++ b/include/dom/core/node.h
@@ -64,7 +64,10 @@ typedef enum {
DOM_DOCUMENT_NODE = 9,
DOM_DOCUMENT_TYPE_NODE = 10,
DOM_DOCUMENT_FRAGMENT_NODE = 11,
- DOM_NOTATION_NODE = 12
+ DOM_NOTATION_NODE = 12,
+
+ /* And a count of the number of node types */
+ DOM_NODE_TYPE_COUNT = DOM_NOTATION_NODE
} dom_node_type;