diff src/doctree.hh @ 501:424e4f409636

add doctree.hh
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 28 Oct 2008 21:27:48 +0100
parents
children 00b31843839b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/doctree.hh	Tue Oct 28 21:27:48 2008 +0100
@@ -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