view src/styleengine.hh @ 499:ae0a18aa6f2a

add klass parameter
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 26 Oct 2008 20:34:47 +0100
parents 96713a0f5d8b
children 424e4f409636
line wrap: on
line source
#ifndef __STYLEENGINE_HH__
#define __STYLEENGINE_HH__

#include "dw/core.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