OLD | NEW |
| (Empty) |
1 {%- import "interface_macros.tmpl" as interface_macros %} | |
2 class {{interface.name}}Proxy; | |
3 class {{interface.name}}Stub; | |
4 class {{interface.name}}_Synchronous; | |
5 | |
6 class {{interface.name}}RequestValidator; | |
7 {%- if interface|has_callbacks %} | |
8 class {{interface.name}}ResponseValidator; | |
9 {%- endif %} | |
10 | |
11 class {{interface.name}} : public internal::{{interface.name}}_Base { | |
12 public: | |
13 virtual ~{{interface.name}}() override {} | |
14 | |
15 using Proxy_ = {{interface.name}}Proxy; | |
16 using Stub_ = {{interface.name}}Stub; | |
17 | |
18 {%- for method in interface.methods %} | |
19 {%- if method.response_parameters != None %} | |
20 using {{method.name}}Callback = {{interface_macros.declare_callback(method)}}; | |
21 {%- endif %} | |
22 virtual void {{method.name}}({{interface_macros.declare_request_params("", met
hod)}}) = 0; | |
23 {%- endfor %} | |
24 }; | |
OLD | NEW |