diff options
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r-- | src/styleengine.hh | 19 |
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 |