diff options
author | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-03-05 19:25:45 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-03-05 19:25:45 +0530 |
commit | 10ed961e18fdb62af1edeb38ae620653987ef8c9 (patch) | |
tree | 8942a65e0fd25edfdb4edff8155d6fd471340b2a /include | |
parent | dd0325710044eaeddc0452d0bc62dbb5d104f03a (diff) | |
download | libdom-10ed961e18fdb62af1edeb38ae620653987ef8c9.tar.gz libdom-10ed961e18fdb62af1edeb38ae620653987ef8c9.tar.bz2 |
final patch for adding hr tag to libdom
Diffstat (limited to 'include')
-rw-r--r-- | include/dom/dom.h | 1 | ||||
-rw-r--r-- | include/dom/html/html_hr_element.h | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h index 2ef6e9b..d34f27f 100644 --- a/include/dom/dom.h +++ b/include/dom/dom.h @@ -55,6 +55,7 @@ #include <dom/html/html_option_element.h> #include <dom/html/html_select_element.h> #include <dom/html/html_options_collection.h> +#include <dom/html/html_hr_element.h> /* DOM Events header */ #include <dom/events/events.h> diff --git a/include/dom/html/html_hr_element.h b/include/dom/html/html_hr_element.h index 2e182d5..14f09f6 100644 --- a/include/dom/html/html_hr_element.h +++ b/include/dom/html/html_hr_element.h @@ -3,5 +3,39 @@ * 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_hr_element_h_ +#define dom_html_hr_element_h_ +#include <stdbool.h> +#include <dom/core/exceptions.h> +#include <dom/core/string.h> + +typedef struct dom_html_hr_element dom_html_hr_element; + +dom_exception dom_html_hr_element_get_no_shade( + dom_html_hr_element *ele, bool *no_shade); + +dom_exception dom_html_hr_element_set_no_shade( + dom_html_hr_element *ele, bool no_shade); + +dom_exception dom_html_hr_element_get_align( + dom_html_hr_element *element, dom_string **align); + +dom_exception dom_html_hr_element_set_align( + dom_html_hr_element *element, dom_string *align); + +dom_exception dom_html_hr_element_get_size( + dom_html_hr_element *element, dom_string **size); + +dom_exception dom_html_hr_element_set_size( + dom_html_hr_element *ele, dom_string *size); + +dom_exception dom_html_hr_element_get_width( + dom_html_hr_element *ele, dom_string **width); + +dom_exception dom_html_hr_element_set_width( + dom_html_hr_element *ele, dom_string *width); + +#endif |