Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3583 → Rev 3584

/programs/network/netsurf/libdom/src/html/html_head_element.h
0,0 → 1,52
/*
* This file is part of libdom.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku.com>
*/
 
#ifndef dom_internal_html_head_element_h_
#define dom_internal_html_head_element_h_
 
#include <dom/html/html_head_element.h>
 
#include "html/html_element.h"
 
struct dom_html_head_element {
struct dom_html_element base;
/**< The base class */
};
 
/* Create a dom_html_head_element object */
dom_exception _dom_html_head_element_create(struct dom_html_document *doc,
dom_string *namespace, dom_string *prefix,
struct dom_html_head_element **ele);
 
/* Initialise a dom_html_head_element object */
dom_exception _dom_html_head_element_initialise(struct dom_html_document *doc,
dom_string *namespace, dom_string *prefix,
struct dom_html_head_element *ele);
 
/* Finalise a dom_html_head_element object */
void _dom_html_head_element_finalise(struct dom_html_head_element *ele);
 
/* Destroy a dom_html_head_element object */
void _dom_html_head_element_destroy(struct dom_html_head_element *ele);
 
/* The protected virtual functions */
dom_exception _dom_html_head_element_parse_attribute(dom_element *ele,
dom_string *name, dom_string *value,
dom_string **parsed);
void _dom_virtual_html_head_element_destroy(dom_node_internal *node);
dom_exception _dom_html_head_element_copy(dom_node_internal *old,
dom_node_internal **copy);
 
#define DOM_HTML_HEAD_ELEMENT_PROTECT_VTABLE \
_dom_html_head_element_parse_attribute
 
#define DOM_NODE_PROTECT_VTABLE_HTML_HEAD_ELEMENT \
_dom_virtual_html_head_element_destroy, \
_dom_html_head_element_copy
 
#endif