diff options
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -156,12 +156,14 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> { class CssSelector { private: int tag; - const char *klass, *id; + const char *klass, *pseudo, *id; public: - CssSelector (int tag, const char *klass, const char *id) { + CssSelector (int tag, const char *klass = NULL, + const char *pseudo = NULL, const char *id = NULL) { this->tag = tag; this->klass = klass; + this->pseudo = pseudo; this->id = id; }; |