Code Review
/
apps
/
agl-service-homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
change hs_recoer
[apps/agl-service-homescreen.git]
/
src
/
hs-apprecover.h
diff --git
a/src/hs-apprecover.h
b/src/hs-apprecover.h
index
f46846d
..
abaf20b
100644
(file)
--- 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;
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:
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;
};
std::map<std::string, struct app_recover_info> m_recover_apps_list;
std::set<std::string> m_recovering_set;
};