diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-23 20:03:33 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-23 20:03:33 +0200 |
commit | 85f1ef95dd6e46909f034184bc095a577b79970d (patch) | |
tree | d2e69cb9c42eee766d1d13208a03270f1069389e /src/css.hh | |
parent | c8b131d5f2d84b92ca9f9fa68dd36aefcbd1a5b1 (diff) |
add StyleEngine
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -2,19 +2,17 @@ #define __CSS_HH__ #include "dw/core.hh" -#include "html_common.hh" class StyleEngine { private: - DilloHtml *html; dw::core::style::Style *currentStyle; public: - StyleEngine (DilloHtml *html); + StyleEngine (); ~StyleEngine (); - void startElement (const char *name); - void endElement (const char *name); + void startElement (int tag, const char *id, const char *style); + void endElement (int tag); inline dw::core::style::Style *style () { return currentStyle; }; }; |