diff options
author | rsk1994 <rsk1coder99@gmail.com> | 2014-05-10 01:32:06 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 04:27:05 +0530 |
commit | 4c706c539f2ae7f390c3463013e4e41428993c6c (patch) | |
tree | ed8c98be3cd6c6473f13c957e9daf849d86168fa /include | |
parent | 2a64fa6be386afa4944361a593dd535529c129ce (diff) | |
download | libdom-4c706c539f2ae7f390c3463013e4e41428993c6c.tar.gz libdom-4c706c539f2ae7f390c3463013e4e41428993c6c.tar.bz2 |
OList <ol> Element
Diffstat (limited to 'include')
-rw-r--r-- | include/dom/dom.h | 1 | ||||
-rw-r--r-- | include/dom/html/html_olist_element.h | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h index 0610427..4af78f7 100644 --- a/include/dom/dom.h +++ b/include/dom/dom.h @@ -69,6 +69,7 @@ #include <dom/html/html_br_element.h> #include <dom/html/html_label_element.h> #include <dom/html/html_ulist_element.h> +#include <dom/html/html_olist_element.h> /* DOM Events header */ #include <dom/events/events.h> diff --git a/include/dom/html/html_olist_element.h b/include/dom/html/html_olist_element.h index 2e182d5..3d1511e 100644 --- a/include/dom/html/html_olist_element.h +++ b/include/dom/html/html_olist_element.h @@ -3,5 +3,33 @@ * 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_o_list_element_h_ +#define dom_html_o_list_element_h_ +#include <stdbool.h> +#include <dom/core/exceptions.h> +#include <dom/core/string.h> + +typedef struct dom_html_o_list_element dom_html_o_list_element; + +dom_exception dom_html_o_list_element_get_compact( + dom_html_o_list_element *ele, bool *compact); + +dom_exception dom_html_o_list_element_set_compact( + dom_html_o_list_element *ele, bool compact); + +dom_exception dom_html_o_list_element_get_start( + dom_html_o_list_element *ele, int32_t *start); + +dom_exception dom_html_o_list_element_set_start( + dom_html_o_list_element *ele, uint32_t start); + +dom_exception dom_html_o_list_element_get_type( + dom_html_o_list_element *ele, dom_string **type); + +dom_exception dom_html_o_list_element_set_type( + dom_html_o_list_element *ele, dom_string *type); + +#endif |