aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs-apprecover.h
diff options
context:
space:
mode:
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;
};