diff options
author | rsk1994 <rsk1coder99@gmail.com> | 2014-05-17 03:06:50 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 04:27:08 +0530 |
commit | 5a31bfe0233d501ca162848631a1e6ff5c87a275 (patch) | |
tree | 000c9d36de33940ad2b5e962068736e36a85eb83 /src/html/html_param_element.h | |
parent | 559ca5e250bc1b902bd2764e05dd8767d1d7ffe6 (diff) | |
download | libdom-5a31bfe0233d501ca162848631a1e6ff5c87a275.tar.gz libdom-5a31bfe0233d501ca162848631a1e6ff5c87a275.tar.bz2 |
Param Element
Diffstat (limited to 'src/html/html_param_element.h')
-rw-r--r-- | src/html/html_param_element.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/html/html_param_element.h b/src/html/html_param_element.h index 2e182d5..2cd8150 100644 --- a/src/html/html_param_element.h +++ b/src/html/html_param_element.h @@ -3,5 +3,50 @@ * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com> + * Copyright 2014 Rupinder Singh Khokhar <rsk1coder99@gmail.com> */ +#ifndef dom_internal_html_param_element_h_ +#define dom_internal_html_param_element_h_ + +#include <dom/html/html_param_element.h> +#include "html/html_element.h" + + +struct dom_html_param_element { + struct dom_html_element base; + /**< The base class */ +}; + +/* Create a dom_html_param_element object */ +dom_exception _dom_html_param_element_create(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, + struct dom_html_param_element **ele); + +/* Initialise a dom_html_param_element object */ +dom_exception _dom_html_param_element_initialise(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, + struct dom_html_param_element *ele); + +/* Finalise a dom_html_param_element object */ +void _dom_html_param_element_finalise(struct dom_html_param_element *ele); + +/* Destroy a dom_html_param_element object */ +void _dom_html_param_element_destroy(struct dom_html_param_element *ele); + +/* The protected virtual functions */ +dom_exception _dom_html_param_element_parse_attribute(dom_element *ele, + dom_string *name, dom_string *value, + dom_string **parsed); +void _dom_virtual_html_param_element_destroy(dom_node_internal *node); +dom_exception _dom_html_param_element_copy(dom_node_internal *old, + dom_node_internal **copy); + +#define DOM_HTML_PARAM_ELEMENT_PROTECT_VTABLE \ + _dom_html_param_element_parse_attribute + +#define DOM_NODE_PROTECT_VTABLE_HTML_PARAM_ELEMENT \ + _dom_virtual_html_param_element_destroy, \ + _dom_html_param_element_copy + +#endif |