summaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-07-11 17:08:13 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-07-11 17:08:13 +0200
commitf57c61aaf2567feeedfa2c50b2bf82fb3a848d52 (patch)
treeff3abeece7ff1349038710ebb0bb024c83c41a27 /src/css.hh
parentb2e341a63d6b2d5e458aa3511b66ca43e040da8f (diff)
allow multiple class strings in CssSimpleSelector
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/css.hh b/src/css.hh
index 462031e0..db8db282 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -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; };