aboutsummaryrefslogtreecommitdiff
path: root/src/doctree.hh
diff options
context:
space:
mode:
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