aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-21 17:34:37 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-21 17:34:37 +0100
commit23999196884a3269cf61257e5dfb10e26063cb14 (patch)
treea143436000a14eca06f0b1a0ed6c164dbd54c3a1 /src/css.hh
parent15341660edd56f09bd21ffe3bc0fa27687bc7bae (diff)
simplify CssSelector a bit
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/css.hh b/src/css.hh
index d3472740..da8d55ac 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -232,14 +232,9 @@ class CssSelector {
lout::misc::SimpleVector <struct CombinatorAndSelector> *selectorList;
public:
- CssSelector (int element = CssSimpleSelector::ELEMENT_ANY,
- const char *klass = NULL,
- const char *pseudo = NULL, const char *id = NULL);
+ CssSelector ();
~CssSelector ();
- void addSimpleSelector (Combinator c,
- int element = CssSimpleSelector::ELEMENT_ANY,
- const char *klass = NULL,
- const char *pseudo = NULL, const char *id=NULL);
+ void addSimpleSelector (Combinator c);
inline CssSimpleSelector *top () {
return &selectorList->getRef (selectorList->size () - 1)->selector;
};