From f3a8f9b62f805739acd19082026eb5afd3df9640 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 22 Jul 2012 12:07:26 +0100 Subject: HTMLBodyElement: Implementation and test enabling --- include/dom/dom.h | 1 + include/dom/html/html_body_element.h | 41 +++++++++++++++++++++++++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/dom/dom.h b/include/dom/dom.h index 7a17152..b68085a 100644 --- a/include/dom/dom.h +++ b/include/dom/dom.h @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include diff --git a/include/dom/html/html_body_element.h b/include/dom/html/html_body_element.h index 4df4ead..febd285 100644 --- a/include/dom/html/html_body_element.h +++ b/include/dom/html/html_body_element.h @@ -2,13 +2,52 @@ * This file is part of libdom. * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php - * Copyright 2009 Bo Yang + * Copyright 2012 Daniel Silverstone */ #ifndef dom_html_body_element_h_ #define dom_html_body_element_h_ +#include +#include + typedef struct dom_html_body_element dom_html_body_element; +dom_exception dom_html_body_element_get_a_link(dom_html_body_element *ele, + dom_string **a_link); + +dom_exception dom_html_body_element_set_a_link(dom_html_body_element *ele, + dom_string *a_link); + +dom_exception dom_html_body_element_get_v_link(dom_html_body_element *ele, + dom_string **v_link); + +dom_exception dom_html_body_element_set_v_link(dom_html_body_element *ele, + dom_string *v_link); + +dom_exception dom_html_body_element_get_background(dom_html_body_element *ele, + dom_string **background); + +dom_exception dom_html_body_element_set_background(dom_html_body_element *ele, + dom_string *background); + +dom_exception dom_html_body_element_get_bg_color(dom_html_body_element *ele, + dom_string **bg_color); + +dom_exception dom_html_body_element_set_bg_color(dom_html_body_element *ele, + dom_string *bg_color); + +dom_exception dom_html_body_element_get_link(dom_html_body_element *ele, + dom_string **link); + +dom_exception dom_html_body_element_set_link(dom_html_body_element *ele, + dom_string *link); + +dom_exception dom_html_body_element_get_text(dom_html_body_element *ele, + dom_string **text); + +dom_exception dom_html_body_element_set_text(dom_html_body_element *ele, + dom_string *text); + #endif -- cgit v1.2.3