X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-apprecover.h;fp=src%2Fhs-apprecover.h;h=28b0ce6a3d15eab481a58392e372517146cb90e1;hb=8f0e20df04e0e6826adc425519840b56d6169404;hp=b702bd9f1dbce95c641f4bf9ad3f1a85c8109587;hpb=b232f5d302f7466c818e157ce98eb0789d541a0c;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-apprecover.h b/src/hs-apprecover.h index b702bd9..28b0ce6 100644 --- a/src/hs-apprecover.h +++ b/src/hs-apprecover.h @@ -38,7 +38,8 @@ public: static HS_AppRecover* instance(void); int init(afb_api_t api); - void startRecovery(afb_api_t api, recover_map &map); + void setRecoverMap(recover_map &map) {recover_app_map.swap(map);} + void startRecovery(afb_api_t api); bool registerRecoveredApp(afb_api_t api, const std::string &appid); void screenUpdated(struct json_object *obj); @@ -53,6 +54,7 @@ private: std::set m_recovering_set; std::map> m_wait_recover_set; std::set m_lastmode_list; + recover_map recover_app_map; }; #endif // HOMESCREEN_APPRECOVER_H \ No newline at end of file