aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs-apprecover.h
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-04-22 13:53:07 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-04-22 13:53:07 +0800
commit46ac770dd55f51bc5d611ba3e5dd883e5f51edfa (patch)
tree6d13c6d635176d6ce411fabbe10cfcb2f6a4895a /src/hs-apprecover.h
parentf11aba0409610b3f6873006752579690225ca4be (diff)
change hs_recoer
Change-Id: Iadfa3cafbde7df1faa06234c4633832819280bdd
Diffstat (limited to 'src/hs-apprecover.h')
-rw-r--r--src/hs-apprecover.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hs-apprecover.h b/src/hs-apprecover.h
index f46846d..abaf20b 100644
--- a/src/hs-apprecover.h
+++ b/src/hs-apprecover.h
@@ -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;
};