From 8e45e8ddbec0eb239f780254d5658160ecb0387c Mon Sep 17 00:00:00 2001 From: rsk1994 Date: Wed, 14 May 2014 05:32:09 +0530 Subject: Anchor element --- include/dom/dom.h | 1 + include/dom/html/html_anchor_element.h | 93 ++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) (limited to 'include') diff --git a/include/dom/dom.h b/include/dom/dom.h index 3dabeec..f243bec 100644 --- a/include/dom/dom.h +++ b/include/dom/dom.h @@ -73,6 +73,7 @@ #include #include #include +#include /* DOM Events header */ #include diff --git a/include/dom/html/html_anchor_element.h b/include/dom/html/html_anchor_element.h index 2e182d5..5d08e75 100644 --- a/include/dom/html/html_anchor_element.h +++ b/include/dom/html/html_anchor_element.h @@ -3,5 +3,98 @@ * 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_anchor_element_h_ +#define dom_html_anchor_element_h_ + +#include +#include +#include + +typedef struct dom_html_anchor_element dom_html_anchor_element; + + +dom_exception dom_html_anchor_element_get_access_key( + dom_html_anchor_element *anchor, dom_string **access_key); + +dom_exception dom_html_anchor_element_set_access_key( + dom_html_anchor_element *anchor, dom_string *access_key); + +dom_exception dom_html_anchor_element_get_charset( + dom_html_anchor_element *anchor, dom_string **charset); + +dom_exception dom_html_anchor_element_set_charset( + dom_html_anchor_element *anchor, dom_string *charset); + +dom_exception dom_html_anchor_element_get_coords( + dom_html_anchor_element *anchor, dom_string **coords); + +dom_exception dom_html_anchor_element_set_coords( + dom_html_anchor_element *anchor, dom_string *coords); + +dom_exception dom_html_anchor_element_get_href( + dom_html_anchor_element *anchor, dom_string **href); + +dom_exception dom_html_anchor_element_set_href( + dom_html_anchor_element *anchor, dom_string *href); + +dom_exception dom_html_anchor_element_get_hreflang( + dom_html_anchor_element *anchor, dom_string **hreflang); + +dom_exception dom_html_anchor_element_set_hreflang( + dom_html_anchor_element *anchor, dom_string *hreflang); + +dom_exception dom_html_anchor_element_get_name( + dom_html_anchor_element *anchor, dom_string **name); + +dom_exception dom_html_anchor_element_set_name( + dom_html_anchor_element *anchor, dom_string *name); + +dom_exception dom_html_anchor_element_get_rel( + dom_html_anchor_element *anchor, dom_string **rel); + +dom_exception dom_html_anchor_element_set_rel( + dom_html_anchor_element *anchor, dom_string *rel); + +dom_exception dom_html_anchor_element_get_rev( + dom_html_anchor_element *anchor, dom_string **rev); + +dom_exception dom_html_anchor_element_set_rev( + dom_html_anchor_element *anchor, dom_string *rev); + +dom_exception dom_html_anchor_element_get_hreflang( + dom_html_anchor_element *anchor, dom_string **hreflang); + +dom_exception dom_html_anchor_element_set_hreflang( + dom_html_anchor_element *anchor, dom_string *hreflang); + +dom_exception dom_html_anchor_element_get_shape( + dom_html_anchor_element *anchor, dom_string **shape); + +dom_exception dom_html_anchor_element_set_shape( + dom_html_anchor_element *anchor, dom_string *shape); + +dom_exception dom_html_anchor_element_get_target( + dom_html_anchor_element *anchor, dom_string **target); + +dom_exception dom_html_anchor_element_set_target( + dom_html_anchor_element *anchor, dom_string *target); + +dom_exception dom_html_anchor_element_get_type( + dom_html_anchor_element *anchor, dom_string **type); + +dom_exception dom_html_anchor_element_set_type( + dom_html_anchor_element *anchor, dom_string *type); + +dom_exception dom_html_anchor_element_get_tab_index( + dom_html_anchor_element *anchor, int32_t *tab_index); + +dom_exception dom_html_anchor_element_set_tab_index( + dom_html_anchor_element *anchor, uint32_t tab_index); + +dom_exception dom_html_anchor_element_blur(dom_html_anchor_element *ele); +dom_exception dom_html_anchor_element_focus(dom_html_anchor_element *ele); + +#endif -- cgit v1.2.3