Index: mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
index b6ba1a30f9d790bfe4ec510622f13ce89f284136..4b1e658f67d733dcf9dd997eeb46bac10679ada0 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl |
@@ -11,6 +11,7 @@ |
#include <stdint.h> |
#include "mojo/public/cpp/bindings/array.h" |
+#include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
#include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" |
#include "mojo/public/cpp/bindings/associated_interface_request.h" |
#include "mojo/public/cpp/bindings/callback.h" |
@@ -53,6 +54,7 @@ extern const {{constant.kind|cpp_pod_type}} {{constant.name}}; |
{% for interface in interfaces %} |
class {{interface.name}}; |
using {{interface.name}}Ptr = mojo::InterfacePtr<{{interface.name}}>; |
+using {{interface.name}}AssociatedPtr = mojo::AssociatedInterfacePtr<{{interface.name}}>; |
{% endfor %} |
{#--- Struct Forward Declarations -#} |