| Index: mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
|
| index c8298d9501f005cd830c1721168d17582f33d429..a90d8ac91572ca82f019e909df44e5a478747079 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl
|
| @@ -29,6 +29,13 @@ class {{export_attribute}} {{interface.name}}
|
| using ResponseValidator_ = mojo::PassThroughFilter;
|
| {%- endif %}
|
|
|
| +{#--- Metadata #}
|
| + enum MethodMinVersions : uint32_t {
|
| +{%- for method in interface.methods %}
|
| + k{{method.name}}MinVersion = {{method.min_version|default(0, true)}},
|
| +{%- endfor %}
|
| + };
|
| +
|
| {#--- Enums #}
|
| {%- for enum in interface.enums %}
|
| using {{enum.name}} = {{enum|get_name_for_kind(flatten_nested_kind=True)}};
|
|
|