diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-29 18:24:05 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-29 18:24:05 +0100 |
commit | faa12b128ac5e22aed81a1ca692ddc504b31bd10 (patch) | |
tree | 7eb8f58354341f67400b72de75a2fcbb865929ab /src/css.hh | |
parent | 76744ba93785ec25f181ba8980398fdc2a8ca304 (diff) |
add static parse method dummies
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); }; |