aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-23 20:38:31 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-23 20:38:31 +0200
commitb362c173ee70b6156204332f758a191ae223294a (patch)
tree49f8a4b2cc5b522f6f3a0033dfc4758090683757 /src/styleengine.hh
parentde21170afbb37e7de1d0504de8768e9a38fd5b24 (diff)
css.[ch][ch] -> styleengine.[ch][ch]
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
new file mode 100644
index 00000000..1e69ff49
--- /dev/null
+++ b/src/styleengine.hh
@@ -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