blob: af615a4476c12900b2edf53964f6c2377848a346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef __STYLEENGINE_HH__
#define __STYLEENGINE_HH__
#include "dw/core.hh"
#include "doctree.hh"
class StyleEngine {
private:
dw::core::style::Style *currentStyle;
public:
StyleEngine ();
~StyleEngine ();
void startElement (int tag, const char *id, const char *klass, const char *style);
void endElement (int tag);
inline dw::core::style::Style *style () { return currentStyle; };
};
#endif
|