17 #ifndef HOMESCREEN_CLIENTMANAGER_H 18 #define HOMESCREEN_CLIENTMANAGER_H 23 #include <unordered_map> 48 void removeClientCtxt(
void *data);
62 HS_ClientCtxt* createClientCtxt(afb_req_t req, std::string appid);
63 HS_Client* addClient(afb_req_t req, std::string appid);
64 void removeClient(std::string appid);
68 std::unordered_map<std::string, HS_Client*> client_list;
69 std::unordered_map<std::string, HS_ClientCtxt*> appid2ctxt;
73 #endif // HOMESCREEN_CLIENTMANAGER_H HS_ClientCtxt(const char *appid)
static void showWindow(afb_req_t request)
static void on_screen_reply(afb_req_t request)
static void on_screen_message(afb_req_t request)
static void subscribe(afb_req_t request)
static void unsubscribe(afb_req_t request)
static void showInformation(afb_req_t request)
static void hideWindow(afb_req_t request)
static void replyShowWindow(afb_req_t request)
static void showNotification(afb_req_t request)
static void tap_shortcut(afb_req_t request)
static int init(afb_api_t api)