X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-apprecover.h;fp=src%2Fhs-apprecover.h;h=b702bd9f1dbce95c641f4bf9ad3f1a85c8109587;hb=fa01549aba442decaf7c6d5b655da2d15d1a32ed;hp=701ec5f6ff0ee1cdd2c75755a49f794f59244184;hpb=868898485c76ad5b0140e6528ba04c08878ea3ce;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-apprecover.h b/src/hs-apprecover.h index 701ec5f..b702bd9 100644 --- a/src/hs-apprecover.h +++ b/src/hs-apprecover.h @@ -24,6 +24,7 @@ struct app_recover_info { std::string recover_type; bool visibility; + std::string after; }; class HS_AppRecover { @@ -38,10 +39,11 @@ public: static HS_AppRecover* instance(void); int init(afb_api_t api); void startRecovery(afb_api_t api, recover_map &map); - bool registerRecoveredApp(const std::string &appid); + bool registerRecoveredApp(afb_api_t api, const std::string &appid); void screenUpdated(struct json_object *obj); private: + void startApplication(afb_api_t api, const std::string &appid); void updateLastmode(std::set &set); bool isHomescreenApp(const std::string &appid) const; @@ -49,6 +51,7 @@ private: static HS_AppRecover* me; std::map m_recover_apps_list; std::set m_recovering_set; + std::map> m_wait_recover_set; std::set m_lastmode_list; };