diff src/doctree.hh @ 503:00b31843839b

implement various apply() methods
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 29 Oct 2008 16:44:28 +0100
parents 424e4f409636
children fd2454cd0120
line wrap: on
line diff
--- a/src/doctree.hh	Tue Oct 28 21:28:57 2008 +0100
+++ b/src/doctree.hh	Wed Oct 29 16:44:28 2008 +0100
@@ -2,10 +2,8 @@
 #define __DOCTREE_HH__
 
 class DoctreeNode {
-   private:
-      int index;
-
    public:
+      int depth;
       int tagIndex;
       const char *klass;
       const char *id;
@@ -13,7 +11,7 @@
 
 class Doctree {
    public:
-      virtual ~Doctree () = 0;
+      virtual ~Doctree () {};
       virtual const DoctreeNode *top () = 0;
       virtual const DoctreeNode *parent (const DoctreeNode *node) = 0;
 };