mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 13:35:03 +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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user