OLD | NEW |
1 {%- import "interface_macros.tmpl" as interface_macros %} | 1 {%- import "interface_macros.tmpl" as interface_macros %} |
2 class {{interface.name}}Proxy : public {{interface.name}} { | 2 class {{interface.name}}Proxy : public {{interface.name}} { |
3 public: | 3 public: |
4 explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver)
; | 4 explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver)
; |
5 | 5 |
6 {%- for method in interface.methods %} | 6 {%- for method in interface.methods %} |
7 virtual void {{method.name}}( | 7 virtual void {{method.name}}( |
8 {{interface_macros.declare_request_params("", method)}} | 8 {{interface_macros.declare_request_params("", method)}} |
9 ) MOJO_OVERRIDE; | 9 ) override; |
10 {%- endfor %} | 10 {%- endfor %} |
11 | 11 |
12 private: | 12 private: |
13 mojo::MessageReceiverWithResponder* receiver_; | 13 mojo::MessageReceiverWithResponder* receiver_; |
14 }; | 14 }; |
OLD | NEW |