view src/styleengine.hh @ 501:424e4f409636

add doctree.hh
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 28 Oct 2008 21:27:48 +0100
parents ae0a18aa6f2a
children 00b31843839b
line wrap: on
line source
#ifndef __STYLEENGINE_HH__
#define __STYLEENGINE_HH__

#include "dw/core.hh"
#include "doctree.hh"

class StyleEngine {
   private:
      dw::core::style::Style *currentStyle;

   public:
      StyleEngine ();
      ~StyleEngine ();

      void startElement (int tag, const char *id, const char *klass, const char *style);
      void endElement (int tag);
      inline dw::core::style::Style *style () { return currentStyle; };
};

#endif