summaryrefslogtreecommitdiff
path: root/src/html/html_font_element.h
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-13 05:25:21 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:06 +0530
commita4820151f4d77647e0b9f9c4d6a22d2ffa0aad81 (patch)
tree274077e4d14f3e0692e2e9a4a4a928104fdb890b /src/html/html_font_element.h
parent0c8d631cbd247a4d34f19f825f70d5fe5b70ec36 (diff)
downloadlibdom-a4820151f4d77647e0b9f9c4d6a22d2ffa0aad81.tar.gz
libdom-a4820151f4d77647e0b9f9c4d6a22d2ffa0aad81.tar.bz2
Font Element
Diffstat (limited to 'src/html/html_font_element.h')
-rw-r--r--src/html/html_font_element.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/html/html_font_element.h b/src/html/html_font_element.h
index 2e182d5..42a2ec4 100644
--- a/src/html/html_font_element.h
+++ b/src/html/html_font_element.h
@@ -3,5 +3,50 @@
* 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_internal_html_font_element_h_
+#define dom_internal_html_font_element_h_
+
+#include <dom/html/html_font_element.h>
+#include "html/html_element.h"
+
+
+struct dom_html_font_element {
+ struct dom_html_element base;
+ /**< The base class */
+};
+
+/* Create a dom_html_font_element object */
+dom_exception _dom_html_font_element_create(struct dom_html_document *doc,
+ dom_string *namespace, dom_string *prefix,
+ struct dom_html_font_element **ele);
+
+/* Initialise a dom_html_font_element object */
+dom_exception _dom_html_font_element_initialise(struct dom_html_document *doc,
+ dom_string *namespace, dom_string *prefix,
+ struct dom_html_font_element *ele);
+
+/* Finalise a dom_html_font_element object */
+void _dom_html_font_element_finalise(struct dom_html_font_element *ele);
+
+/* Destroy a dom_html_font_element object */
+void _dom_html_font_element_destroy(struct dom_html_font_element *ele);
+
+/* The protected virtual functions */
+dom_exception _dom_html_font_element_parse_attribute(dom_element *ele,
+ dom_string *name, dom_string *value,
+ dom_string **parsed);
+void _dom_virtual_html_font_element_destroy(dom_node_internal *node);
+dom_exception _dom_html_font_element_copy(dom_node_internal *old,
+ dom_node_internal **copy);
+
+#define DOM_HTML_FONT_ELEMENT_PROTECT_VTABLE \
+ _dom_html_font_element_parse_attribute
+
+#define DOM_NODE_PROTECT_VTABLE_HTML_FONT_ELEMENT \
+ _dom_virtual_html_font_element_destroy, \
+ _dom_html_font_element_copy
+
+#endif