From 9409bc2ad7d71916accae0cf855ac068cb6a4bb3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 14 Oct 2015 15:54:22 +0100 Subject: add automaticaly generated property setter and getters to HTMLTitleElement --- javascript/duktape/HTMLTitleElement.bnd | 14 ++++++++++++++ javascript/duktape/netsurf.bnd | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 javascript/duktape/HTMLTitleElement.bnd (limited to 'javascript/duktape') diff --git a/javascript/duktape/HTMLTitleElement.bnd b/javascript/duktape/HTMLTitleElement.bnd new file mode 100644 index 000000000..dee1c0749 --- /dev/null +++ b/javascript/duktape/HTMLTitleElement.bnd @@ -0,0 +1,14 @@ +/* HTML title element binding using duktape and libdom + * + * Copyright 2015 Vincent Sanders + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * Released under the terms of the MIT License, + * http://www.opensource.org/licenses/mit-license + */ + +init HTMLTitleElement(struct dom_html_element *html_title_element::html_element); + +getter HTMLTitleElement::text(); +setter HTMLTitleElement::text(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 2693cf1e1..d4e7ca6d0 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -105,6 +105,7 @@ struct dom_html_br_element; #include "HTMLTableRowElement.bnd" #include "HTMLTableSectionElement.bnd" #include "HTMLTextAreaElement.bnd" +#include "HTMLTitleElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -134,7 +135,6 @@ init HTMLDListElement(struct dom_html_element *html_d_list_element::html_element init HTMLUListElement(struct dom_html_element *html_u_list_element::html_element); init HTMLOListElement(struct dom_html_element *html_o_list_element::html_element); init HTMLPreElement(struct dom_html_element *html_pre_element::html_element); -init HTMLTitleElement(struct dom_html_element *html_title_element::html_element); init HTMLHeadElement(struct dom_html_element *html_head_element::html_element); /* specialisations of HTMLTableCellElement */ -- cgit v1.2.3