view src/styleengine.hh @ 497:96713a0f5d8b

css.[ch][ch] -> styleengine.[ch][ch]
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Thu, 23 Oct 2008 20:38:31 +0200
parents src/css.hh@7224de9c34b7
children ae0a18aa6f2a
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 *style);
      void endElement (int tag);
      inline dw::core::style::Style *style () { return currentStyle; };
};

#endif