summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-09 20:47:13 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:05 +0530
commitce28e10c6c8018380b0609b715f59f8fd1550a21 (patch)
tree744dd65c582e91d95612f0340ca1485d77cff8df /include/dom
parentba80007cad36fa89c490d2cbdb4321d7e11a8236 (diff)
downloadlibdom-ce28e10c6c8018380b0609b715f59f8fd1550a21.tar.gz
libdom-ce28e10c6c8018380b0609b715f59f8fd1550a21.tar.bz2
Label Element
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_label_element.h26
2 files changed, 27 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 4c5ba09..8035622 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -67,6 +67,7 @@
#include <dom/html/html_quote_element.h>
#include <dom/html/html_pre_element.h>
#include <dom/html/html_br_element.h>
+#include <dom/html/html_label_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_label_element.h b/include/dom/html/html_label_element.h
index 2e182d5..6aca45d 100644
--- a/include/dom/html/html_label_element.h
+++ b/include/dom/html/html_label_element.h
@@ -5,3 +5,29 @@
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
*/
+#ifndef dom_html_label_element_h_
+#define dom_html_label_element_h_
+
+#include <stdbool.h>
+
+#include <dom/core/exceptions.h>
+
+#include <dom/html/html_form_element.h>
+
+typedef struct dom_html_label_element dom_html_label_element;
+
+dom_exception dom_html_label_element_get_access_key(
+ dom_html_label_element *ele, dom_string **access_key);
+dom_exception dom_html_label_element_set_access_key(
+ dom_html_label_element *ele, dom_string *access_key);
+
+dom_exception dom_html_label_element_get_html_for(
+ dom_html_label_element *ele, dom_string **html_for);
+dom_exception dom_html_label_element_set_html_for(
+ dom_html_label_element *ele, dom_string *html_for);
+
+dom_exception dom_html_label_element_get_form(
+ dom_html_label_element *ele, dom_html_form_element **form);
+
+#endif
+