diff src/styleengine.hh @ 598:4ff90b6242f9

fix id, class, style attribute handling
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 14 Nov 2008 20:18:35 +0100
parents eb1072890045
children d0694361ecd0
line wrap: on
line diff
--- a/src/styleengine.hh	Fri Nov 14 19:36:18 2008 +0100
+++ b/src/styleengine.hh	Fri Nov 14 20:18:35 2008 +0100
@@ -37,11 +37,13 @@
             return NULL;
       };
 
-      void startElement (int tag, const char *id = NULL, const char *klass = NULL,
-         const char *style = NULL);
+      void startElement (int tag);
+      void setId (const char *id);
+      void setClass (const char *klass);
+      void setStyle (const char *style);
       void endElement (int tag);
+      void setPseudo (const char *pseudo);
       void setNonCssHints (CssPropertyList *nonCssHints);
-      void setPseudoClass (const char *pseudoClass);
 
       inline dw::core::style::Style *style () {
          dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style;