From 90b1ce030de101026f33ed0c951b0d07f06792fa Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Jul 2012 15:14:26 +0100 Subject: HTMLHeadElement: Support for the element, enable the test --- src/html/html_head_element.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/html/html_head_element.h') diff --git a/src/html/html_head_element.h b/src/html/html_head_element.h index aa6e21a..65cc3c5 100644 --- a/src/html/html_head_element.h +++ b/src/html/html_head_element.h @@ -19,10 +19,12 @@ struct dom_html_head_element { /* Create a dom_html_head_element object */ dom_exception _dom_html_head_element_create(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, struct dom_html_head_element **ele); /* Initialise a dom_html_head_element object */ dom_exception _dom_html_head_element_initialise(struct dom_html_document *doc, + dom_string *namespace, dom_string *prefix, struct dom_html_head_element *ele); /* Finalise a dom_html_head_element object */ @@ -46,5 +48,15 @@ dom_exception _dom_html_head_element_copy(dom_node_internal *old, _dom_virtual_html_head_element_destroy, \ _dom_html_head_element_copy +/* The API functions */ +dom_exception _dom_html_head_element_get_profile(dom_html_head_element *element, + dom_string **profile); +dom_exception _dom_html_head_element_set_profile(dom_html_head_element *element, + dom_string *profile); + +#define DOM_HTML_HEAD_ELEMENT_VTABLE \ + _dom_html_head_element_get_profile, \ + _dom_html_head_element_set_profile + #endif -- cgit v1.2.3