From 7bf86def02f275eac1c1f0c634461e9aed545a14 Mon Sep 17 00:00:00 2001 From: rsk1994 Date: Wed, 14 May 2014 20:14:31 +0530 Subject: Including Level2 tests & the Basefont Element , also a minor change in level2 basefontElement test --- include/dom/dom.h | 1 + include/dom/html/html_basefont_element.h | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) (limited to 'include/dom') diff --git a/include/dom/dom.h b/include/dom/dom.h index f243bec..7c788fd 100644 --- a/include/dom/dom.h +++ b/include/dom/dom.h @@ -74,6 +74,7 @@ #include #include #include +#include /* DOM Events header */ #include diff --git a/include/dom/html/html_basefont_element.h b/include/dom/html/html_basefont_element.h index 2e182d5..fa60e0d 100644 --- a/include/dom/html/html_basefont_element.h +++ b/include/dom/html/html_basefont_element.h @@ -3,5 +3,32 @@ * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang + * Copyright 2014 Rupinder Singh Khokhar */ +#ifndef dom_html_base_font_element_h_ +#define dom_html_base_font_element_h_ +#include +#include +#include + +typedef struct dom_html_base_font_element dom_html_base_font_element; + +dom_exception dom_html_base_font_element_get_size( + dom_html_base_font_element *element, int32_t *size); + +dom_exception dom_html_base_font_element_set_size( + dom_html_base_font_element *element, uint32_t size); + +dom_exception dom_html_base_font_element_get_color( + dom_html_base_font_element *element, dom_string **color); + +dom_exception dom_html_base_font_element_set_color( + dom_html_base_font_element *element, dom_string *color); + +dom_exception dom_html_base_font_element_get_face( + dom_html_base_font_element *element, dom_string **face); + +dom_exception dom_html_base_font_element_set_face( + dom_html_base_font_element *element, dom_string *face); +#endif -- cgit v1.2.3