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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/hs-apprecover.h b/src/hs-apprecover.h
index abaf20b..3a0f8d5 100644
--- a/src/hs-apprecover.h
+++ b/src/hs-apprecover.h
@@ -38,12 +38,18 @@ public:
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);
+ void registerRecoveredApp(const std::string &appid);
+ void screenUpdated(struct json_object *obj);
private:
+ void updateLastmode(std::set<std::string> &set);
+ bool isHomescreenApp(const std::string &appid) const;
+
+ const std::string key_ids = "ids";
static HS_AppRecover* me;
std::map<std::string, struct app_recover_info> m_recover_apps_list;
std::set<std::string> m_recovering_set;
+ std::set<std::string> m_lastmode_list;
};
#endif // HOMESCREEN_APPRECOVER_H \ No newline at end of file