1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:08:10 +00:00

LibWeb: Add empty IDL bindings for current SVG elements

Nothing in them right now as the classes don't contain the IDL
methods.
This commit is contained in:
Luke 2020-10-02 20:57:28 +01:00 committed by Andreas Kling
parent 6351a56d27
commit 9dee140a9f
14 changed files with 62 additions and 1 deletions

View file

@ -290,7 +290,7 @@ int main(int argc, char** argv)
return 1;
}
if (namespace_.is_one_of("DOM", "HTML", "UIEvents", "HighResolutionTime")) {
if (namespace_.is_one_of("DOM", "HTML", "UIEvents", "HighResolutionTime", "SVG")) {
StringBuilder builder;
builder.append(namespace_);
builder.append("::");
@ -381,6 +381,8 @@ static void generate_header(const IDL::Interface& interface)
out() << "#include <LibWeb/UIEvents/" << interface.name << ".h>";
out() << "#elif __has_include(<LibWeb/HighResolutionTime/" << interface.name << ".h>)";
out() << "#include <LibWeb/HighResolutionTime/" << interface.name << ".h>";
out() << "#elif __has_include(<LibWeb/SVG/" << interface.name << ".h>)";
out() << "#include <LibWeb/SVG/" << interface.name << ".h>";
out() << "#endif";
if (wrapper_base_class != "Wrapper")