summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_hr_element.h34
2 files changed, 35 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 2ef6e9b..d34f27f 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -55,6 +55,7 @@
#include <dom/html/html_option_element.h>
#include <dom/html/html_select_element.h>
#include <dom/html/html_options_collection.h>
+#include <dom/html/html_hr_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_hr_element.h b/include/dom/html/html_hr_element.h
index 2e182d5..14f09f6 100644
--- a/include/dom/html/html_hr_element.h
+++ b/include/dom/html/html_hr_element.h
@@ -3,5 +3,39 @@
* 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_hr_element_h_
+#define dom_html_hr_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_hr_element dom_html_hr_element;
+
+dom_exception dom_html_hr_element_get_no_shade(
+ dom_html_hr_element *ele, bool *no_shade);
+
+dom_exception dom_html_hr_element_set_no_shade(
+ dom_html_hr_element *ele, bool no_shade);
+
+dom_exception dom_html_hr_element_get_align(
+ dom_html_hr_element *element, dom_string **align);
+
+dom_exception dom_html_hr_element_set_align(
+ dom_html_hr_element *element, dom_string *align);
+
+dom_exception dom_html_hr_element_get_size(
+ dom_html_hr_element *element, dom_string **size);
+
+dom_exception dom_html_hr_element_set_size(
+ dom_html_hr_element *ele, dom_string *size);
+
+dom_exception dom_html_hr_element_get_width(
+ dom_html_hr_element *ele, dom_string **width);
+
+dom_exception dom_html_hr_element_set_width(
+ dom_html_hr_element *ele, dom_string *width);
+
+#endif