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_paragraph_element.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 0988990..e2d0661 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -62,6 +62,7 @@
#include <dom/html/html_fieldset_element.h>
#include <dom/html/html_legend_element.h>
#include <dom/html/html_div_element.h>
+#include <dom/html/html_paragraph_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_paragraph_element.h b/include/dom/html/html_paragraph_element.h
index 2e182d5..c0e228a 100644
--- a/include/dom/html/html_paragraph_element.h
+++ b/include/dom/html/html_paragraph_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_paragraph_element_h_
+#define dom_html_paragraph_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_paragraph_element dom_html_paragraph_element;
+
+dom_exception dom_html_paragraph_element_get_align(
+ dom_html_paragraph_element *element, dom_string **align);
+
+dom_exception dom_html_paragraph_element_set_align(
+ dom_html_paragraph_element *element, dom_string *align);
+
+#endif