summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-08 03:55:24 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:04 +0530
commit271efd52662ef01f2514a948d44b1cf2af1949f8 (patch)
treef300c6caa9f54931994a8b7ffed3be66926a576e /include
parent6e95420b74d8e9da135c7ba6f2c80a1f7bdc6dba (diff)
downloadlibdom-271efd52662ef01f2514a948d44b1cf2af1949f8.tar.gz
libdom-271efd52662ef01f2514a948d44b1cf2af1949f8.tar.bz2
Pre Element
Diffstat (limited to 'include')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_pre_element.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index d820fd0..8b9e0c9 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -65,6 +65,7 @@
#include <dom/html/html_paragraph_element.h>
#include <dom/html/html_heading_element.h>
#include <dom/html/html_quote_element.h>
+#include <dom/html/html_pre_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_pre_element.h b/include/dom/html/html_pre_element.h
index 2e182d5..bd72701 100644
--- a/include/dom/html/html_pre_element.h
+++ b/include/dom/html/html_pre_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_pre_element_h_
+#define dom_html_pre_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_pre_element dom_html_pre_element;
+
+dom_exception dom_html_pre_element_get_width(
+ dom_html_pre_element *element, int32_t *width);
+
+dom_exception dom_html_pre_element_set_width(
+ dom_html_pre_element *element, uint32_t width);
+
+#endif