comparison src/css.hh @ 493:03e0cacbb994

add css.hh css.cc
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 22 Oct 2008 22:11:10 +0200
parents
children 7224de9c34b7
comparison
equal deleted inserted replaced
432:914b4bc82300 493:03e0cacbb994
1 #ifndef __CSS_HH__
2 #define __CSS_HH__
3
4 #include "dw/core.hh"
5 #include "html_common.hh"
6
7 class StyleEngine {
8 private:
9 DilloHtml *html;
10 dw::core::style::Style *currentStyle;
11
12 public:
13 StyleEngine (DilloHtml *html);
14 ~StyleEngine ();
15
16 void startElement (const char *name);
17 void endElement (const char *name);
18 inline dw::core::style::Style *style () { return currentStyle; };
19 };
20
21 #endif