Mercurial > dillo_port1.3
view src/css.hh @ 495:7224de9c34b7
add StyleEngine
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> |
---|---|
date | Thu, 23 Oct 2008 20:03:33 +0200 |
parents | 03e0cacbb994 |
children |
line wrap: on
line source
#ifndef __CSS_HH__ #define __CSS_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