Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | /* |
2 | * This file is part of libdom. |
||
3 | * Licensed under the MIT License, |
||
4 | * http://www.opensource.org/licenses/mit-license.php |
||
5 | * Copyright 2012 Daniel Silverstone |
||
6 | */ |
||
7 | |||
8 | #ifndef dom_internal_html_opt_group_element_h_ |
||
9 | #define dom_internal_html_opt_group_element_h_ |
||
10 | |||
11 | #include |
||
12 | |||
13 | #include "html/html_element.h" |
||
14 | |||
15 | struct dom_html_opt_group_element { |
||
16 | struct dom_html_element base; |
||
17 | /**< The base class */ |
||
18 | }; |
||
19 | |||
20 | /* Create a dom_html_opt_group_element object */ |
||
21 | dom_exception _dom_html_opt_group_element_create(struct dom_html_document *doc, |
||
22 | dom_string *namespace, dom_string *prefix, |
||
23 | struct dom_html_opt_group_element **ele); |
||
24 | |||
25 | /* Initialise a dom_html_opt_group_element object */ |
||
26 | dom_exception _dom_html_opt_group_element_initialise(struct dom_html_document *doc, |
||
27 | dom_string *namespace, dom_string *prefix, |
||
28 | struct dom_html_opt_group_element *ele); |
||
29 | |||
30 | /* Finalise a dom_html_opt_group_element object */ |
||
31 | void _dom_html_opt_group_element_finalise(struct dom_html_opt_group_element *ele); |
||
32 | |||
33 | /* Destroy a dom_html_opt_group_element object */ |
||
34 | void _dom_html_opt_group_element_destroy(struct dom_html_opt_group_element *ele); |
||
35 | |||
36 | /* The protected virtual functions */ |
||
37 | dom_exception _dom_html_opt_group_element_parse_attribute(dom_element *ele, |
||
38 | dom_string *name, dom_string *value, |
||
39 | dom_string **parsed); |
||
40 | void _dom_virtual_html_opt_group_element_destroy(dom_node_internal *node); |
||
41 | dom_exception _dom_html_opt_group_element_copy(dom_node_internal *old, |
||
42 | dom_node_internal **copy); |
||
43 | |||
44 | #define DOM_HTML_OPT_GROUP_ELEMENT_PROTECT_VTABLE \ |
||
45 | _dom_html_opt_group_element_parse_attribute |
||
46 | |||
47 | #define DOM_NODE_PROTECT_VTABLE_HTML_OPT_GROUP_ELEMENT \ |
||
48 | _dom_virtual_html_opt_group_element_destroy, \ |
||
49 | _dom_html_opt_group_element_copy |
||
50 | |||
51 | #endif> |