summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-17 05:59:23 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:08 +0530
commit644e93ff924466c41e55bad14fb7a42c468a4f7c (patch)
tree23352d4ea0bfdd9ef90bfda6de12b8acb4f502c8 /include/dom
parentadea85fad0882b49e70087c03c173fae6bf8d121 (diff)
downloadlibdom-644e93ff924466c41e55bad14fb7a42c468a4f7c.tar.gz
libdom-644e93ff924466c41e55bad14fb7a42c468a4f7c.tar.bz2
Area Element & documentElement minor fix
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_area_element.h62
2 files changed, 63 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 2a2e1cc..69a4f77 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -79,6 +79,7 @@
#include <dom/html/html_object_element.h>
#include <dom/html/html_param_element.h>
#include <dom/html/html_applet_element.h>
+#include <dom/html/html_area_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_area_element.h b/include/dom/html/html_area_element.h
index 2e182d5..c57202b 100644
--- a/include/dom/html/html_area_element.h
+++ b/include/dom/html/html_area_element.h
@@ -3,5 +3,67 @@
* 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 <rsk1access_keyr99@gmail.com>
*/
+#ifndef dom_html_area_element_h_
+#define dom_html_area_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_form_element.h>
+#include <dom/html/html_document.h>
+
+typedef struct dom_html_area_element dom_html_area_element;
+
+dom_exception dom_html_area_element_get_access_key(
+ dom_html_area_element *area, dom_string **access_key);
+
+dom_exception dom_html_area_element_set_access_key(
+ dom_html_area_element *area, dom_string *access_key);
+
+dom_exception dom_html_area_element_get_alt(
+ dom_html_area_element *area, dom_string **alt);
+
+dom_exception dom_html_area_element_set_alt(
+ dom_html_area_element *area, dom_string *alt);
+
+dom_exception dom_html_area_element_get_coords(
+ dom_html_area_element *area, dom_string **coords);
+
+dom_exception dom_html_area_element_set_coords(
+ dom_html_area_element *area, dom_string *coords);
+
+dom_exception dom_html_area_element_get_href(
+ dom_html_area_element *area, dom_string **href);
+
+dom_exception dom_html_area_element_set_href(
+ dom_html_area_element *area, dom_string *href);
+
+dom_exception dom_html_area_element_get_no_href(
+ dom_html_area_element *ele, bool *no_href);
+
+dom_exception dom_html_area_element_set_no_href(
+ dom_html_area_element *ele, bool no_href);
+
+dom_exception dom_html_area_element_get_shape(
+ dom_html_area_element *area, dom_string **shape);
+
+dom_exception dom_html_area_element_set_shape(
+ dom_html_area_element *area, dom_string *shape);
+
+dom_exception dom_html_area_element_get_tab_index(
+ dom_html_area_element *area, int32_t *tab_index);
+
+dom_exception dom_html_area_element_set_tab_index(
+ dom_html_area_element *area, uint32_t tab_index);
+
+dom_exception dom_html_area_element_get_target(
+ dom_html_area_element *area, dom_string **target);
+
+dom_exception dom_html_area_element_set_target(
+ dom_html_area_element *area, dom_string *target);
+
+#endif