view src/doctree.hh @ 558:be6295157b10

adjust pseudo class handling
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 11 Nov 2008 21:22:52 +0100
parents c0af24cdb695
children 145b8a4d65b3
line wrap: on
line source
#ifndef __DOCTREE_HH__
#define __DOCTREE_HH__

class DoctreeNode {
   public:
      int depth;
      int tag;
      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