mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 17:17:42 +00:00
LibWeb: Don't generate a wrap() function for the Event IDL interface
We already have a wrap() in EventWrapperFactory.cpp. It would be nice to generate that at some point but it will require a lot more work on the wrapper generator.
This commit is contained in:
parent
ddbfd77e2c
commit
024b216141
2 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
#include <LibTextCodec/Decoder.h>
|
#include <LibTextCodec/Decoder.h>
|
||||||
#include <LibWeb/Bindings/DocumentWrapper.h>
|
#include <LibWeb/Bindings/DocumentWrapper.h>
|
||||||
#include <LibWeb/Bindings/EventWrapper.h>
|
#include <LibWeb/Bindings/EventWrapper.h>
|
||||||
|
#include <LibWeb/Bindings/EventWrapperFactory.h>
|
||||||
#include <LibWeb/Bindings/LocationObject.h>
|
#include <LibWeb/Bindings/LocationObject.h>
|
||||||
#include <LibWeb/Bindings/NavigatorObject.h>
|
#include <LibWeb/Bindings/NavigatorObject.h>
|
||||||
#include <LibWeb/Bindings/NodeWrapperFactory.h>
|
#include <LibWeb/Bindings/NodeWrapperFactory.h>
|
||||||
|
|
|
@ -342,6 +342,8 @@ int main(int argc, char** argv)
|
||||||
static bool should_emit_wrapper_factory(const IDL::Interface& interface)
|
static bool should_emit_wrapper_factory(const IDL::Interface& interface)
|
||||||
{
|
{
|
||||||
// FIXME: This is very hackish.
|
// FIXME: This is very hackish.
|
||||||
|
if (interface.name == "Event")
|
||||||
|
return false;
|
||||||
if (interface.name == "EventTarget")
|
if (interface.name == "EventTarget")
|
||||||
return false;
|
return false;
|
||||||
if (interface.name == "Node")
|
if (interface.name == "Node")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue