view src/doctree.hh @ 562:145b8a4d65b3

tag -> element
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 12 Nov 2008 16:17:35 +0100
parents be6295157b10
children df8153796f48
line wrap: on
line source
#ifndef __DOCTREE_HH__
#define __DOCTREE_HH__

class DoctreeNode {
   public:
      int depth;
      int element;
      const char *klass;
      const char *pseudo;
      const char *id;
};

class Doctree {
   public:
      virtual ~Doctree () {};
      virtual const DoctreeNode *top () = 0;
      virtual const DoctreeNode *parent (const DoctreeNode *node) = 0;
};

#endif