aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/css.hh b/src/css.hh
index e8aa3a3b..c71de78a 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -116,7 +116,7 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
public:
CssPropertyList() : lout::misc::SimpleVector <CssProperty> (1) {};
- static CssPropertyList *parse (const char *buf, int buflen);
+ static CssPropertyList *parse (const char *buf);
void set (CssProperty::Name name, CssProperty::Value value);
void apply (CssPropertyList *props);
};
@@ -124,17 +124,17 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
/** \todo proper implementation */
class CssSelector {
private:
- int tagIndex;
+ int tag;
const char *klass, *id;
public:
- CssSelector (int tagIndex, const char *klass, const char *id) {
- this->tagIndex = tagIndex;
+ CssSelector (int tag, const char *klass, const char *id) {
+ this->tag = tag;
this->klass = klass;
this->id = id;
};
- static CssSelector *parse (const char *buf, int buflen);
+ static CssSelector *parse (const char *buf);
bool match (Doctree *dt);
};