summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-17 08:39:50 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:09 +0530
commitf1107bdb33dd760151d1b7311b09fb099c05d8c9 (patch)
treef2f4e2e831d8e0fcc1aab2f518628542eda465a1 /include
parent644e93ff924466c41e55bad14fb7a42c468a4f7c (diff)
downloadlibdom-f1107bdb33dd760151d1b7311b09fb099c05d8c9.tar.gz
libdom-f1107bdb33dd760151d1b7311b09fb099c05d8c9.tar.bz2
Map Element
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