summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-02 08:42:01 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:26:37 +0530
commit1e595d6e27a62568241afd4db558d2947f92bf43 (patch)
tree187b850c6c4869d39e6e8e00a4ac5b25d9ac9afb /include/dom
parent23349bc58f238d7b1ecb28d9d344c06fae6650fa (diff)
downloadlibdom-1e595d6e27a62568241afd4db558d2947f92bf43.tar.gz
libdom-1e595d6e27a62568241afd4db558d2947f92bf43.tar.bz2
Fieldset & Legend Elements
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h2
-rw-r--r--include/dom/html/html_fieldset_element.h17
-rw-r--r--include/dom/html/html_legend_element.h27
3 files changed, 46 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 38bb996..fb5e2f1 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -59,6 +59,8 @@
#include <dom/html/html_dlist_element.h>
#include <dom/html/html_directory_element.h>
#include <dom/html/html_menu_element.h>
+#include <dom/html/html_fieldset_element.h>
+#include <dom/html/html_legend_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_fieldset_element.h b/include/dom/html/html_fieldset_element.h
index 2e182d5..26383b3 100644
--- a/include/dom/html/html_fieldset_element.h
+++ b/include/dom/html/html_fieldset_element.h
@@ -3,5 +3,22 @@
* 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_field_set_element_h_
+#define dom_html_field_set_element_h_
+
+#include <stdbool.h>
+
+#include <dom/core/exceptions.h>
+
+#include <dom/html/html_form_element.h>
+
+typedef struct dom_html_field_set_element dom_html_field_set_element;
+
+struct dom_html_element;
+dom_exception dom_html_field_set_element_get_form(
+ dom_html_field_set_element *ele, dom_html_form_element **form);
+#endif
+
diff --git a/include/dom/html/html_legend_element.h b/include/dom/html/html_legend_element.h
index 2e182d5..caf34a6 100644
--- a/include/dom/html/html_legend_element.h
+++ b/include/dom/html/html_legend_element.h
@@ -3,5 +3,32 @@
* 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_legend_element_h_
+#define dom_html_legend_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_form_element.h>
+
+typedef struct dom_html_legend_element dom_html_legend_element;
+
+dom_exception dom_html_legend_element_get_form(
+ dom_html_legend_element *ele, dom_html_form_element **form);
+
+dom_exception dom_html_legend_element_get_access_key(
+ dom_html_legend_element *element, dom_string **access_key);
+
+dom_exception dom_html_legend_element_set_access_key(
+ dom_html_legend_element *element, dom_string *access_key);
+
+dom_exception dom_html_legend_element_get_align(
+ dom_html_legend_element *element, dom_string **align);
+
+dom_exception dom_html_legend_element_set_align(
+ dom_html_legend_element *ele, dom_string *align);
+
+#endif