summaryrefslogtreecommitdiff
path: root/src/html/html_element.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-05 17:19:08 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-05 17:19:08 +0000
commite420204621aba7b66e4302ab943d8158e4c3600e (patch)
tree967e9417152caef3e733be25db663aadfacc93c0 /src/html/html_element.h
parentf907092126ccfd1bfb825a99683b39237c482bbc (diff)
downloadlibdom-e420204621aba7b66e4302ab943d8158e4c3600e.tar.gz
libdom-e420204621aba7b66e4302ab943d8158e4c3600e.tar.bz2
Beginnings of some of HTMLElement
svn path=/trunk/dom/; revision=11009
Diffstat (limited to 'src/html/html_element.h')
-rw-r--r--src/html/html_element.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/html/html_element.h b/src/html/html_element.h
index 430dac4..d0691d6 100644
--- a/src/html/html_element.h
+++ b/src/html/html_element.h
@@ -17,9 +17,6 @@ struct dom_html_form_element;
/**
* The dom_html_element class
*
- * Note: For now, there is no new members and methods in this class,
- * but in future, we may add common abstracted functions from child class
- * to here.
*/
struct dom_html_element {
struct dom_element base;
@@ -44,6 +41,12 @@ dom_exception _dom_html_element_alloc(struct dom_document *doc,
dom_exception _dom_html_element_copy(struct dom_node_internal *new,
struct dom_node_internal *old);
+/* The API functions */
+dom_exception _dom_html_element_get_id(dom_html_element *element,
+ struct dom_string **id);
+dom_exception _dom_html_element_set_id(dom_html_element *element,
+ struct dom_string *id);
+
/* Some common functions used by all child classes */
dom_exception dom_html_element_get_bool_property(dom_html_element *ele,
const char *name, unsigned long len, bool *has);
@@ -54,5 +57,7 @@ void _dom_html_element_get_form(dom_html_element *ele,
void _dom_html_element_associate_form(dom_html_element *ele,
struct dom_html_form_element *form);
+
+
#endif