change hs_recoer
[apps/agl-service-homescreen.git] / src / hs-apprecover.h
index f46846d..abaf20b 100644 (file)
@@ -35,11 +35,13 @@ public:
     HS_AppRecover(HS_AppRecover &&) = delete;
     HS_AppRecover &operator=(HS_AppRecover &&) = delete;
 
+    static HS_AppRecover* instance(void);
+    int init(afb_api_t api);
     void startRecovery(afb_api_t api, recover_map &map);
     bool registerRecoveredApp(std::string &appid);
 
 private:
-
+    static HS_AppRecover* me;
     std::map<std::string, struct app_recover_info> m_recover_apps_list;
     std::set<std::string> m_recovering_set;
 };