1 class {{interface.name}}Proxy;
2 class {{interface.name}}Stub;
3 class {{interface.peer}};
5 class {{interface.name}} {
7 typedef {{interface.name}}Proxy _Proxy;
8 typedef {{interface.name}}Stub _Stub;
9 typedef {{interface.peer}} _Peer;
12 {%- for enum in interface.enums %}
13 {% macro enum_def() %}{% include "enum_declaration.tmpl" %}{% endmacro %}
14 {{enum_def()|indent(2)}}
18 {% for method in interface.methods %}
19 virtual void {{method.name}}(
20 {%- for param in method.parameters -%}
21 {{param.kind|cpp_const_wrapper_type}} {{param.name}}
22 {%- if not loop.last %}, {% endif -%}