1 /* 2 * Copyright (C) 2018 Alexander Borisov 3 * 4 * Author: Alexander Borisov <borisov@lexbor.com> 5 */ 6 7 #ifndef LEXBOR_HTML_WINDOW_H 8 #define LEXBOR_HTML_WINDOW_H 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #include "lexbor/html/interface.h" 15 #include "lexbor/dom/interfaces/event_target.h" 16 17 18 struct lxb_html_window { 19 lxb_dom_event_target_t event_target; 20 }; 21 22 23 LXB_API lxb_html_window_t * 24 lxb_html_window_create(lxb_html_document_t *document); 25 26 LXB_API lxb_html_window_t * 27 lxb_html_window_destroy(lxb_html_window_t *window); 28 29 30 #ifdef __cplusplus 31 } /* extern "C" */ 32 #endif 33 34 #endif /* LEXBOR_HTML_WINDOW_H */ 35