Add first stub methods to send window status updates from Android to host
This commit is contained in:
parent
a39c1b2bd2
commit
6ee8734cf3
10 changed files with 130 additions and 18 deletions
|
|
@ -36,6 +36,8 @@ public:
|
|||
PlatformApiStub(const std::shared_ptr<rpc::Channel> &rpc_channel);
|
||||
|
||||
void boot_finished();
|
||||
void update_window_state();
|
||||
void remove_window();
|
||||
|
||||
private:
|
||||
template<typename Response>
|
||||
|
|
@ -46,9 +48,13 @@ private:
|
|||
};
|
||||
|
||||
void handle_boot_finished_response(Request<protobuf::rpc::Void> *request);
|
||||
void handle_update_window_state_response(Request<protobuf::rpc::Void> *request);
|
||||
void handle_remove_window_response(Request<protobuf::rpc::Void> *request);
|
||||
|
||||
mutable std::mutex mutex_;
|
||||
common::WaitHandle boot_finished_wait_handle_;
|
||||
common::WaitHandle update_window_state_wait_handle_;
|
||||
common::WaitHandle remove_window_wait_handle_;
|
||||
|
||||
std::shared_ptr<rpc::Channel> rpc_channel_;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue