view src/doctree.hh @ 536:c0af24cdb695

set CSS pseudo class in Html_tag_open_a()
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sat, 08 Nov 2008 15:59:56 +0100
parents fd2454cd0120
children be6295157b10
line wrap: on
line source
#ifndef __DOCTREE_HH__
#define __DOCTREE_HH__

class DoctreeNode {
   public:
      int depth;
      int tag;
      const char *klass;
      const char *pseudoClass;
      const char *id;
};

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

#endif