diff options
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp index 1af9659b30..916ce15a34 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp @@ -807,7 +807,7 @@ int main(int argc, char** argv) auto interface = IDL::parse_interface(path, data, import_base_path); - if (namespace_.is_one_of("Crypto", "CSS", "DOM", "HTML", "UIEvents", "Geometry", "HighResolutionTime", "IntersectionObserver", "NavigationTiming", "RequestIdleCallback", "ResizeObserver", "SVG", "Selection", "XHR", "URL")) { + if (namespace_.is_one_of("Crypto", "CSS", "DOM", "Encoding", "HTML", "UIEvents", "Geometry", "HighResolutionTime", "IntersectionObserver", "NavigationTiming", "RequestIdleCallback", "ResizeObserver", "SVG", "Selection", "XHR", "URL")) { StringBuilder builder; builder.append(namespace_); builder.append("::"); @@ -1452,6 +1452,8 @@ static void generate_header(IDL::Interface const& interface) # include <LibWeb/CSS/@name@.h> #elif __has_include(<LibWeb/DOM/@name@.h>) # include <LibWeb/DOM/@name@.h> +#elif __has_include(<LibWeb/Encoding/@name@.h>) +# include <LibWeb/Encoding/@name@.h> #elif __has_include(<LibWeb/Geometry/@name@.h>) # include <LibWeb/Geometry/@name@.h> #elif __has_include(<LibWeb/HTML/@name@.h>) @@ -2500,6 +2502,8 @@ void generate_constructor_implementation(IDL::Interface const& interface) # include <LibWeb/CSS/@name@.h> #elif __has_include(<LibWeb/DOM/@name@.h>) # include <LibWeb/DOM/@name@.h> +#elif __has_include(<LibWeb/Encoding/@name@.h>) +# include <LibWeb/Encoding/@name@.h> #elif __has_include(<LibWeb/Geometry/@name@.h>) # include <LibWeb/Geometry/@name@.h> #elif __has_include(<LibWeb/HTML/@name@.h>) @@ -2815,6 +2819,8 @@ void generate_prototype_implementation(IDL::Interface const& interface) # include <LibWeb/CSS/@name@.h> #elif __has_include(<LibWeb/DOM/@name@.h>) # include <LibWeb/DOM/@name@.h> +#elif __has_include(<LibWeb/Encoding/@name@.h>) +# include <LibWeb/Encoding/@name@.h> #elif __has_include(<LibWeb/Geometry/@name@.h>) # include <LibWeb/Geometry/@name@.h> #elif __has_include(<LibWeb/HTML/@name@.h>) @@ -3268,6 +3274,8 @@ static void generate_iterator_header(IDL::Interface const& interface) # include <LibWeb/CSS/@name@.h> #elif __has_include(<LibWeb/DOM/@name@.h>) # include <LibWeb/DOM/@name@.h> +#elif __has_include(<LibWeb/Encoding/@name@.h>) +# include <LibWeb/Encoding/@name@.h> #elif __has_include(<LibWeb/Geometry/@name@.h>) # include <LibWeb/Geometry/@name@.h> #elif __has_include(<LibWeb/HTML/@name@.h>) @@ -3456,6 +3464,8 @@ void generate_iterator_prototype_implementation(IDL::Interface const& interface) # include <LibWeb/CSS/@name@.h> #elif __has_include(<LibWeb/DOM/@name@.h>) # include <LibWeb/DOM/@name@.h> +#elif __has_include(<LibWeb/Encoding/@name@.h>) +# include <LibWeb/Encoding/@name@.h> #elif __has_include(<LibWeb/Geometry/@name@.h>) # include <LibWeb/Geometry/@name@.h> #elif __has_include(<LibWeb/HTML/@name@.h>) |