aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-23 20:03:33 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-23 20:03:33 +0200
commit85f1ef95dd6e46909f034184bc095a577b79970d (patch)
treed2e69cb9c42eee766d1d13208a03270f1069389e /src/css.hh
parentc8b131d5f2d84b92ca9f9fa68dd36aefcbd1a5b1 (diff)
add StyleEngine
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/css.hh b/src/css.hh
index 31147db7..02fa06f6 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -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; };
};