summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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