view 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 source
#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