aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-29 18:24:05 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-10-29 18:24:05 +0100
commitfaa12b128ac5e22aed81a1ca692ddc504b31bd10 (patch)
tree7eb8f58354341f67400b72de75a2fcbb865929ab /src/css.hh
parent76744ba93785ec25f181ba8980398fdc2a8ca304 (diff)
add static parse method dummies
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/css.hh b/src/css.hh
index c6b8fec7..e8aa3a3b 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -116,6 +116,7 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
public:
CssPropertyList() : lout::misc::SimpleVector <CssProperty> (1) {};
+ static CssPropertyList *parse (const char *buf, int buflen);
void set (CssProperty::Name name, CssProperty::Value value);
void apply (CssPropertyList *props);
};
@@ -131,7 +132,9 @@ class CssSelector {
this->tagIndex = tagIndex;
this->klass = klass;
this->id = id;
- };
+ };
+
+ static CssSelector *parse (const char *buf, int buflen);
bool match (Doctree *dt);
};