aboutsummaryrefslogtreecommitdiff
path: root/src/doctree.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-28 21:27:48 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-28 21:27:48 +0100
commit3c493dd1d7470fcaaa26d18b3b8c4ebabdb1f688 (patch)
treec4197e2f3427c7c37a1ccb90c2411b4f0493f665 /src/doctree.hh
parentfffb653ce6ab4689cb3c5aec18e980497e73ac6d (diff)
add doctree.hh
Diffstat (limited to 'src/doctree.hh')
-rw-r--r--src/doctree.hh21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/doctree.hh b/src/doctree.hh
new file mode 100644
index 00000000..7d35135a
--- /dev/null
+++ b/src/doctree.hh
@@ -0,0 +1,21 @@
+#ifndef __DOCTREE_HH__
+#define __DOCTREE_HH__
+
+class DoctreeNode {
+ private:
+ int index;
+
+ public:
+ int tagIndex;
+ const char *klass;
+ const char *id;
+};
+
+class Doctree {
+ public:
+ virtual ~Doctree () = 0;
+ virtual const DoctreeNode *top () = 0;
+ virtual const DoctreeNode *parent (const DoctreeNode *node) = 0;
+};
+
+#endif