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_map_element.h21
2 files changed, 22 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 69a4f77..8a1b5e5 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -80,6 +80,7 @@
#include <dom/html/html_param_element.h>
#include <dom/html/html_applet_element.h>
#include <dom/html/html_area_element.h>
+#include <dom/html/html_map_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_map_element.h b/include/dom/html/html_map_element.h
index 2e182d5..6abdee5 100644
--- a/include/dom/html/html_map_element.h
+++ b/include/dom/html/html_map_element.h
@@ -3,5 +3,26 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_map_element_h_
+#define dom_html_map_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_collection.h>
+
+typedef struct dom_html_map_element dom_html_map_element;
+
+dom_exception dom_html_map_element_get_name(
+ dom_html_map_element *ele, dom_string **name);
+
+dom_exception dom_html_map_element_set_name(
+ dom_html_map_element *ele, dom_string *name);
+
+dom_exception dom_html_map_element_get_areas(
+ dom_html_map_element *ele, dom_html_collection **areas);
+
+#endif