comparison 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
comparison
equal deleted inserted replaced
500:c049012b8b74 501:424e4f409636
1 #ifndef __DOCTREE_HH__
2 #define __DOCTREE_HH__
3
4 class DoctreeNode {
5 private:
6 int index;
7
8 public:
9 int tagIndex;
10 const char *klass;
11 const char *id;
12 };
13
14 class Doctree {
15 public:
16 virtual ~Doctree () = 0;
17 virtual const DoctreeNode *top () = 0;
18 virtual const DoctreeNode *parent (const DoctreeNode *node) = 0;
19 };
20
21 #endif