1 /*
2  * Copyright (C) 2018 Alexander Borisov
3  *
4  * Author: Alexander Borisov <borisov@lexbor.com>
5  */
6 
7 #ifndef LEXBOR_HTML_TEMPLATE_ELEMENT_H
8 #define LEXBOR_HTML_TEMPLATE_ELEMENT_H
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #include "lexbor/dom/interfaces/document_fragment.h"
15 
16 #include "lexbor/html/interface.h"
17 #include "lexbor/html/interfaces/element.h"
18 
19 
20 struct lxb_html_template_element {
21     lxb_html_element_t          element;
22 
23     lxb_dom_document_fragment_t *content;
24 };
25 
26 
27 LXB_API lxb_html_template_element_t *
28 lxb_html_template_element_interface_create(lxb_html_document_t *document);
29 
30 LXB_API lxb_html_template_element_t *
31 lxb_html_template_element_interface_destroy(lxb_html_template_element_t *template_element);
32 
33 
34 #ifdef __cplusplus
35 } /* extern "C" */
36 #endif
37 
38 #endif /* LEXBOR_HTML_TEMPLATE_ELEMENT_H */
39