1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 {%- set header_guard = "%s_INTERNAL_H_"|
6 format(module.path|upper|replace("/","_")|replace(".","_")) %}
8 #ifndef {{header_guard}}
9 #define {{header_guard}}
11 #include "mojo/public/cpp/bindings/lib/bindings_internal.h"
12 #include "mojo/public/cpp/bindings/lib/buffer.h"
14 {%- for import in imports %}
15 #include "{{import.module.path}}-internal.h"
24 {%- for namespace in namespaces_as_array %}
25 namespace {{namespace}} {
28 {#--- Wrapper forward declarations #}
29 {% for struct in structs %}
30 class {{struct.name}};
37 {#--- Class declarations #}
38 {% for struct in structs %}
39 {% include "struct_declaration.tmpl" %}
44 } // namespace internal
45 {%- for namespace in namespaces_as_array|reverse %}
46 } // namespace {{namespace}}
49 #endif // {{header_guard}}