Add auto-generated getters/setters on body element

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2019-05-03 14:26:12 +01:00
parent 9e1b4218a1
commit ed9894d750
2 changed files with 33 additions and 26 deletions

View File

@ -8,6 +8,13 @@
* http://www.opensource.org/licenses/mit-license
*/
prologue HTMLBodyElement()
%{
#include "utils/corestrings.h"
#define HANDLER_MAGIC MAGIC(HANDLER_MAP)
%}
init HTMLBodyElement(struct dom_html_element *html_body_element::html_element);
getter HTMLBodyElement::aLink();
@ -22,3 +29,29 @@ getter HTMLBodyElement::text();
setter HTMLBodyElement::text();
getter HTMLBodyElement::vLink();
setter HTMLBodyElement::vLink();
getter HTMLBodyElement::onafterprint();
setter HTMLBodyElement::onafterprint();
getter HTMLBodyElement::onbeforeprint();
setter HTMLBodyElement::onbeforeprint();
getter HTMLBodyElement::onbeforeunload();
setter HTMLBodyElement::onbeforeunload();
getter HTMLBodyElement::onhashchange();
setter HTMLBodyElement::onhashchange();
getter HTMLBodyElement::onlanguagechange();
setter HTMLBodyElement::onlanguagechange();
getter HTMLBodyElement::onmessage();
setter HTMLBodyElement::onmessage();
getter HTMLBodyElement::onoffline();
setter HTMLBodyElement::onoffline();
getter HTMLBodyElement::ononline();
setter HTMLBodyElement::ononline();
getter HTMLBodyElement::onpagehide();
setter HTMLBodyElement::onpagehide();
getter HTMLBodyElement::onpageshow();
setter HTMLBodyElement::onpageshow();
getter HTMLBodyElement::onpopstate();
setter HTMLBodyElement::onpopstate();
getter HTMLBodyElement::onstorage();
setter HTMLBodyElement::onstorage();
getter HTMLBodyElement::onunload();
setter HTMLBodyElement::onunload();

View File

@ -517,32 +517,6 @@ getter HTMLAreaElement::type(string);
setter HTMLAreaElement::type(string);
getter HTMLAreaElement::username(user);
setter HTMLAreaElement::username(user);
getter HTMLBodyElement::onafterprint(user);
setter HTMLBodyElement::onafterprint(user);
getter HTMLBodyElement::onbeforeprint(user);
setter HTMLBodyElement::onbeforeprint(user);
getter HTMLBodyElement::onbeforeunload(user);
setter HTMLBodyElement::onbeforeunload(user);
getter HTMLBodyElement::onhashchange(user);
setter HTMLBodyElement::onhashchange(user);
getter HTMLBodyElement::onlanguagechange(user);
setter HTMLBodyElement::onlanguagechange(user);
getter HTMLBodyElement::onmessage(user);
setter HTMLBodyElement::onmessage(user);
getter HTMLBodyElement::onoffline(user);
setter HTMLBodyElement::onoffline(user);
getter HTMLBodyElement::ononline(user);
setter HTMLBodyElement::ononline(user);
getter HTMLBodyElement::onpagehide(user);
setter HTMLBodyElement::onpagehide(user);
getter HTMLBodyElement::onpageshow(user);
setter HTMLBodyElement::onpageshow(user);
getter HTMLBodyElement::onpopstate(user);
setter HTMLBodyElement::onpopstate(user);
getter HTMLBodyElement::onstorage(user);
setter HTMLBodyElement::onstorage(user);
getter HTMLBodyElement::onunload(user);
setter HTMLBodyElement::onunload(user);
getter HTMLButtonElement::autofocus(boolean);
setter HTMLButtonElement::autofocus(boolean);
method HTMLButtonElement::checkValidity();