#pragma once #include "rpc/RpcChannel.h" class {{ cls.name }}Proxy { public: explicit {{ cls.name }}Proxy(RpcChannel& ch); {% for m in cls.methods %} {{ m.return_type }} {{ m.name }}({% for a in m.args %}{{ a.type }} {{ a.name }}{% if not loop.last %}, {% endif %}{% endfor %}); {% endfor %} private: class Impl; Impl* impl; };