| OLD | NEW |
| 1 {%- import "interface_macros.tmpl" as interface_macros %} | 1 {%- import "interface_macros.tmpl" as interface_macros %} |
| 2 class {{interface.name}}Proxy; | 2 class {{interface.name}}Proxy; |
| 3 class {{interface.name}}Stub; | 3 class {{interface.name}}Stub; |
| 4 | 4 |
| 5 class {{interface.name}}RequestValidator; | 5 class {{interface.name}}RequestValidator; |
| 6 {%- if interface|has_callbacks %} | 6 {%- if interface|has_callbacks %} |
| 7 class {{interface.name}}ResponseValidator; | 7 class {{interface.name}}ResponseValidator; |
| 8 {%- endif %} | 8 {%- endif %} |
| 9 | 9 |
| 10 class {{interface.name}} { | 10 class {{interface.name}} { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 {#--- Methods #} | 40 {#--- Methods #} |
| 41 virtual ~{{interface.name}}() {} | 41 virtual ~{{interface.name}}() {} |
| 42 | 42 |
| 43 {%- for method in interface.methods %} | 43 {%- for method in interface.methods %} |
| 44 {% if method.response_parameters != None %} | 44 {% if method.response_parameters != None %} |
| 45 using {{method.name}}Callback = {{interface_macros.declare_callback(method)}}; | 45 using {{method.name}}Callback = {{interface_macros.declare_callback(method)}}; |
| 46 {%- endif %} | 46 {%- endif %} |
| 47 virtual void {{method.name}}({{interface_macros.declare_request_params("", met
hod)}}) = 0; | 47 virtual void {{method.name}}({{interface_macros.declare_request_params("", met
hod)}}) = 0; |
| 48 {%- endfor %} | 48 {%- endfor %} |
| 49 }; | 49 }; |
| OLD | NEW |