add automaticaly generated property setter and getters to HTMLObjectElement

This commit is contained in:
Vincent Sanders 2015-10-13 23:36:01 +01:00
parent 2f129cdef7
commit 079667ee6c
3 changed files with 55 additions and 29 deletions

View File

@ -1166,49 +1166,21 @@ getter HTMLModElement::cite(string);\n
setter HTMLModElement::cite(string);\n
getter HTMLModElement::dateTime(string);\n
setter HTMLModElement::dateTime(string);\n
getter HTMLObjectElement::align(string);\n
setter HTMLObjectElement::align(string);\n
getter HTMLObjectElement::archive(string);\n
setter HTMLObjectElement::archive(string);\n
getter HTMLObjectElement::border(string);\n
setter HTMLObjectElement::border(string);\n
method HTMLObjectElement::checkValidity();\n
getter HTMLObjectElement::codeBase(string);\n
setter HTMLObjectElement::codeBase(string);\n
getter HTMLObjectElement::code(string);\n
setter HTMLObjectElement::code(string);\n
getter HTMLObjectElement::codeType(string);\n
setter HTMLObjectElement::codeType(string);\n
getter HTMLObjectElement::contentDocument(user);\n
getter HTMLObjectElement::contentWindow(user);\n
getter HTMLObjectElement::data(string);\n
setter HTMLObjectElement::data(string);\n
getter HTMLObjectElement::declare(boolean);\n
setter HTMLObjectElement::declare(boolean);\n
getter HTMLObjectElement::form(user);\n
method HTMLObjectElement::getSVGDocument();\n
getter HTMLObjectElement::height(string);\n
setter HTMLObjectElement::height(string);\n
getter HTMLObjectElement::hspace(long);\n
setter HTMLObjectElement::hspace(long);\n
getter HTMLObjectElement::name(string);\n
setter HTMLObjectElement::name(string);\n
method HTMLObjectElement::reportValidity();\n
method HTMLObjectElement::setCustomValidity();\n
getter HTMLObjectElement::standby(string);\n
setter HTMLObjectElement::standby(string);\n
getter HTMLObjectElement::typeMustMatch(boolean);\n
setter HTMLObjectElement::typeMustMatch(boolean);\n
getter HTMLObjectElement::type(string);\n
setter HTMLObjectElement::type(string);\n
getter HTMLObjectElement::useMap(string);\n
setter HTMLObjectElement::useMap(string);\n
getter HTMLObjectElement::validationMessage(string);\n
getter HTMLObjectElement::validity(user);\n
getter HTMLObjectElement::vspace(long);\n
setter HTMLObjectElement::vspace(long);\n
getter HTMLObjectElement::width(string);\n
setter HTMLObjectElement::width(string);\n
getter HTMLObjectElement::willValidate(boolean);\n
getter HTMLOListElement::compact(boolean);\n
setter HTMLOListElement::compact(boolean);\n

View File

@ -0,0 +1,54 @@
/* HTML object element binding using duktape and libdom
*
* Copyright 2015 Vincent Sanders <vince@netsurf-browser.org>
*
* 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 HTMLObjectElement(struct dom_html_element *html_object_element::html_element);
getter HTMLObjectElement::align();
setter HTMLObjectElement::align();
getter HTMLObjectElement::archive();
setter HTMLObjectElement::archive();
getter HTMLObjectElement::border();
setter HTMLObjectElement::border();
getter HTMLObjectElement::codeBase();
setter HTMLObjectElement::codeBase();
getter HTMLObjectElement::code();
setter HTMLObjectElement::code();
getter HTMLObjectElement::codeType();
setter HTMLObjectElement::codeType();
getter HTMLObjectElement::data();
setter HTMLObjectElement::data();
getter HTMLObjectElement::declare();
setter HTMLObjectElement::declare();
getter HTMLObjectElement::height();
setter HTMLObjectElement::height();
getter HTMLObjectElement::name();
setter HTMLObjectElement::name();
getter HTMLObjectElement::standby();
setter HTMLObjectElement::standby();
getter HTMLObjectElement::type();
setter HTMLObjectElement::type();
getter HTMLObjectElement::useMap();
setter HTMLObjectElement::useMap();
getter HTMLObjectElement::width();
setter HTMLObjectElement::width();

View File

@ -90,6 +90,7 @@ struct dom_html_br_element;
#include "HTMLMarqueeElement.bnd"
#include "HTMLMenuElement.bnd"
#include "HTMLMetaElement.bnd"
#include "HTMLObjectElement.bnd"
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
@ -118,7 +119,6 @@ init HTMLTableElement(struct dom_html_element *html_table_element::html_element)
init HTMLMediaElement(struct dom_html_element *html_media_element::html_element);
init HTMLTrackElement(struct dom_html_element *html_track_element::html_element);
init HTMLParamElement(struct dom_html_element *html_param_element::html_element);
init HTMLObjectElement(struct dom_html_element *html_object_element::html_element);
init HTMLEmbedElement(struct dom_html_element *html_embed_element::html_element);
init HTMLSourceElement(struct dom_html_element *html_source_element::html_element);
init HTMLPictureElement(struct dom_html_element *html_picture_element::html_element);