diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 16:33:02 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 16:33:02 +0200 |
commit | 4b9363baacc314fb5f7fcf6b180f4d099bc8479e (patch) | |
tree | 2a610d19c301ddbb29315e0c0d0b88b41cca6fe4 /src/styleengine.hh | |
parent | b9c1cd2a051f4a04f62a910477a1ca7546a5d3d5 (diff) |
support CSS @import directive
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r-- | src/styleengine.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh index dd5e4886..24ac1d56 100644 --- a/src/styleengine.hh +++ b/src/styleengine.hh @@ -1,6 +1,8 @@ #ifndef __STYLEENGINE_HH__ #define __STYLEENGINE_HH__ +class StyleEngine; + #include "dw/core.hh" #include "doctree.hh" #include "css.hh" @@ -20,6 +22,7 @@ class StyleEngine : public Doctree { lout::misc::SimpleVector <Node> *stack; CssContext *cssContext; int num; + int importDepth; dw::core::style::Style *style0 (CssPropertyList *nonCssHints = NULL); dw::core::style::Style *wordStyle0 (CssPropertyList *nonCssHints = NULL); @@ -46,7 +49,7 @@ class StyleEngine : public Doctree { return NULL; }; - void parse (const char *buf, int buflen, CssOrigin origin); + void parse (DilloHtml *html, DilloUrl *url, const char *buf, int buflen, CssOrigin origin); void startElement (int tag); void startElement (const char *tagname); void setId (const char *id); |