summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-03 04:59:10 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:03 +0530
commit6ba15f74fdb3009fce39dbc2ef23b1e238b95e9b (patch)
treeda481d23a097a940ff31ed3b27bd77f579a38266 /include/dom
parentd82ef1d51de315ab8b976854319bc3bcaffba07f (diff)
downloadlibdom-6ba15f74fdb3009fce39dbc2ef23b1e238b95e9b.tar.gz
libdom-6ba15f74fdb3009fce39dbc2ef23b1e238b95e9b.tar.bz2
H1, H2, H3, H4, H5 & H6 Elements
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_heading_element.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index e2d0661..2dd63bb 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -63,6 +63,7 @@
#include <dom/html/html_legend_element.h>
#include <dom/html/html_div_element.h>
#include <dom/html/html_paragraph_element.h>
+#include <dom/html/html_heading_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_heading_element.h b/include/dom/html/html_heading_element.h
index 2e182d5..fb42b89 100644
--- a/include/dom/html/html_heading_element.h
+++ b/include/dom/html/html_heading_element.h
@@ -3,5 +3,21 @@
* 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_heading_element_h_
+#define dom_html_heading_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_heading_element dom_html_heading_element;
+
+dom_exception dom_html_heading_element_get_align(
+ dom_html_heading_element *element, dom_string **align);
+
+dom_exception dom_html_heading_element_set_align(
+ dom_html_heading_element *element, dom_string *align);
+
+#endif