android: adjust for recent rpc changes
This commit is contained in:
parent
0f612bee6d
commit
1c9ebae83d
10 changed files with 50 additions and 42 deletions
|
|
@ -36,8 +36,10 @@ namespace bridge {
|
|||
class InstallApplication;
|
||||
class LaunchApplication;
|
||||
class SetDnsServers;
|
||||
class Void;
|
||||
} // namespace bridge
|
||||
namespace rpc {
|
||||
class Void;
|
||||
} // namespace rpc
|
||||
} // namespace protobuf
|
||||
class AndroidApiSkeleton {
|
||||
public:
|
||||
|
|
@ -45,20 +47,20 @@ public:
|
|||
~AndroidApiSkeleton();
|
||||
|
||||
void install_application(anbox::protobuf::bridge::InstallApplication const *request,
|
||||
anbox::protobuf::bridge::Void *response,
|
||||
anbox::protobuf::rpc::Void *response,
|
||||
google::protobuf::Closure *done);
|
||||
|
||||
void launch_application(anbox::protobuf::bridge::LaunchApplication const *request,
|
||||
anbox::protobuf::bridge::Void *response,
|
||||
anbox::protobuf::rpc::Void *response,
|
||||
google::protobuf::Closure *done);
|
||||
|
||||
void set_dns_servers(anbox::protobuf::bridge::SetDnsServers const *request,
|
||||
anbox::protobuf::bridge::Void *response,
|
||||
anbox::protobuf::rpc::Void *response,
|
||||
google::protobuf::Closure *done);
|
||||
|
||||
private:
|
||||
void wait_for_process(core::posix::ChildProcess &process,
|
||||
anbox::protobuf::bridge::Void *response);
|
||||
anbox::protobuf::rpc::Void *response);
|
||||
};
|
||||
} // namespace anbox
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue