X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2FAglShellGrpcClient.h;fp=homescreen%2Fsrc%2FAglShellGrpcClient.h;h=19cfb753819b9cbf0599f4dfd5e83b4e09f0fcf4;hb=537937138e9855408c6b8af4331725c8a1d52705;hp=bb74377f70256a2f64606f84b1adec94f3349472;hpb=c13f6c196066bccb33c3a1f524a108b52c356bfd;p=apps%2Fhomescreen.git diff --git a/homescreen/src/AglShellGrpcClient.h b/homescreen/src/AglShellGrpcClient.h index bb74377..19cfb75 100644 --- a/homescreen/src/AglShellGrpcClient.h +++ b/homescreen/src/AglShellGrpcClient.h @@ -92,6 +92,7 @@ private: class GrpcClient { public: GrpcClient(); + void WaitForConnected(int wait_time_ms, int tries_timeout); bool ActivateApp(const std::string& app_id, const std::string& output_name); bool DeactivateApp(const std::string& app_id); bool SetAppFloat(const std::string& app_id, int32_t x_pos, int32_t y_pos); @@ -108,5 +109,6 @@ public: private: Reader *reader; std::unique_ptr m_stub; + std::shared_ptr m_channel; };