aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
blob: 02fa06f623a567b8103a8f33425407aeb015b184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __CSS_HH__
#define __CSS_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