diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-07-11 17:08:13 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-07-11 17:08:13 +0200 |
commit | f57c61aaf2567feeedfa2c50b2bf82fb3a848d52 (patch) | |
tree | ff3abeece7ff1349038710ebb0bb024c83c41a27 /src/css.hh | |
parent | b2e341a63d6b2d5e458aa3511b66ca43e040da8f (diff) |
allow multiple class strings in CssSimpleSelector
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -314,7 +314,8 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> { class CssSimpleSelector { private: int element; - char *klass, *pseudo, *id; + char *pseudo, *id; + lout::misc::SimpleVector <char *> *klass; public: enum { @@ -333,7 +334,7 @@ class CssSimpleSelector { ~CssSimpleSelector (); inline void setElement (int e) { element = e; }; void setSelect (SelectType t, const char *v); - inline const char *getClass () { return klass; }; + inline lout::misc::SimpleVector <char *> *getClass () { return klass; }; inline const char *getPseudoClass () { return pseudo; }; inline const char *getId () { return id; }; inline int getElement () { return element; }; |