Orcus
css.hpp
1 /*************************************************************************
2  *
3  * Copyright (c) 2015 Kohei Yoshida
4  *
5  * Permission is hereby granted, free of charge, to any person
6  * obtaining a copy of this software and associated documentation
7  * files (the "Software"), to deal in the Software without
8  * restriction, including without limitation the rights to use,
9  * copy, modify, merge, publish, distribute, sublicense, and/or sell
10  * copies of the Software, and to permit persons to whom the
11  * Software is furnished to do so, subject to the following
12  * conditions:
13  *
14  * The above copyright notice and this permission notice shall be
15  * included in all copies or substantial portions of the Software.
16  *
17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21  * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24  * OTHER DEALINGS IN THE SOFTWARE.
25  *
26  ************************************************************************/
27 
28 #ifndef INCLUDED_ORCUS_PARSER_HANDLERS_CSS_HPP
29 #define INCLUDED_ORCUS_PARSER_HANDLERS_CSS_HPP
30 
31 #include <orcus/css_types.hpp>
32 
38 {
39 public:
40  void at_rule_name(const char* /*p*/, size_t /*n*/) {}
41 
42  void simple_selector_type(const char* /*p*/, size_t /*n*/) {}
43 
44  void simple_selector_class(const char* /*p*/, size_t /*n*/) {}
45 
46  void simple_selector_pseudo_element(orcus::css::pseudo_element_t /*pe*/) {}
47 
48  void simple_selector_pseudo_class(orcus::css::pseudo_class_t /*pc*/) {}
49 
50  void simple_selector_id(const char* /*p*/, size_t /*n*/) {}
51 
52  void end_simple_selector() {}
53 
54  void end_selector() {}
55 
56  void combinator(orcus::css::combinator_t /*combinator*/) {}
57 
58  void property_name(const char* /*p*/, size_t /*n*/) {}
59 
60  void value(const char* /*p*/, size_t /*n*/) {}
61 
62  void rgb(uint8_t /*red*/ , uint8_t /*green*/ , uint8_t /*blue*/ ) {}
63 
64  void rgba(uint8_t /*red*/ , uint8_t /*green*/ , uint8_t /*blue*/ , double /*alpha*/ ) {}
65 
66  void hsl(uint8_t /*hue*/ , uint8_t /*sat*/ , uint8_t /*light*/ ) {}
67 
68  void hsla(uint8_t /*hue*/ , uint8_t /*sat*/ , uint8_t /*light*/ , double /*alpha*/ ) {}
69 
70  void url(const char* /*p*/, size_t /*n*/) {}
71 
72  void begin_parse() {}
73 
74  void end_parse() {}
75 
76  void begin_block() {}
77 
78  void end_block() {}
79 
80  void begin_property() {}
81 
82  void end_property() {}
83 };
84 
85 #endif
Definition: css.hpp:37