diff src/styleengine.hh @ 497:96713a0f5d8b

css.[ch][ch] -> styleengine.[ch][ch]
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Thu, 23 Oct 2008 20:38:31 +0200
parents src/css.hh@7224de9c34b7
children ae0a18aa6f2a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/styleengine.hh	Thu Oct 23 20:38:31 2008 +0200
@@ -0,0 +1,19 @@
+#ifndef __STYLEENGINE_HH__
+#define __STYLEENGINE_HH__
+
+#include "dw/core.hh"
+
+class StyleEngine {
+   private:
+      dw::core::style::Style *currentStyle;
+
+   public:
+      StyleEngine ();
+      ~StyleEngine ();
+
+      void startElement (int tag, const char *id, const char *style);
+      void endElement (int tag);
+      inline dw::core::style::Style *style () { return currentStyle; };
+};
+
+#endif