summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-22 12:07:26 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-22 12:07:26 +0100
commitf3a8f9b62f805739acd19082026eb5afd3df9640 (patch)
treecb51116e0216a1e5c16178a37e45630e0409b2c5 /include/dom
parent9f74d817eec3a46f0c34dcd43ad2325fb9cc06bd (diff)
downloadlibdom-f3a8f9b62f805739acd19082026eb5afd3df9640.tar.gz
libdom-f3a8f9b62f805739acd19082026eb5afd3df9640.tar.bz2
HTMLBodyElement: Implementation and test enabling
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_body_element.h41
2 files changed, 41 insertions, 1 deletions
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 <dom/html/html_head_element.h>
#include <dom/html/html_link_element.h>
#include <dom/html/html_title_element.h>
+#include <dom/html/html_body_element.h>
#include <dom/html/html_meta_element.h>
#include <dom/html/html_form_element.h>
#include <dom/html/html_input_element.h>
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 <struggleyb.nku.com>
+ * Copyright 2012 Daniel Silverstone <dsilvers@netsurf-browser.org>
*/
#ifndef dom_html_body_element_h_
#define dom_html_body_element_h_
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
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