rename RpcChannel to IpcChannel
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
class {{ cls.name }}Proxy::Impl {
|
||||
public:
|
||||
explicit Impl(RpcChannel& ch)
|
||||
explicit Impl(IpcChannel& ch)
|
||||
: client(ch) {}
|
||||
|
||||
RpcClient client;
|
||||
};
|
||||
|
||||
{{ cls.name }}Proxy::{{ cls.name }}Proxy(RpcChannel& ch)
|
||||
{{ cls.name }}Proxy::{{ cls.name }}Proxy(IpcChannel& ch)
|
||||
: impl(new Impl(ch)) {}
|
||||
|
||||
{% for m in cls.methods %}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "rpc/RpcChannel.h"
|
||||
#include "rpc/IpcChannel.h"
|
||||
|
||||
class {{ cls.name }}Proxy {
|
||||
public:
|
||||
explicit {{ cls.name }}Proxy(RpcChannel& ch);
|
||||
explicit {{ cls.name }}Proxy(IpcChannel& 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 %}
|
||||
|
||||
Reference in New Issue
Block a user