17 #ifndef HOMESCREEN_CLIENT_H 18 #define HOMESCREEN_CLIENT_H 21 #include <unordered_map> 28 HS_Client(afb_req_t request, std::string
id);
34 int showWindow(afb_req_t request,
const char* appid);
39 int subscribe(afb_req_t request,
const char* event);
40 int unsubscribe(afb_req_t request,
const char* event);
45 bool checkEvent(
const char* event);
50 bool subscription =
false;
51 std::unordered_map<std::string, int> event_list;
55 #endif // HOMESCREEN_CLIENT_H int subscribe(afb_req_t request, const char *event)
HS_Client & operator=(HS_Client &)=delete
HS_Client(afb_req_t request, const char *id)
int replyShowWindow(afb_req_t request, const char *appid)
int on_screen_message(afb_req_t request, const char *message)
int showInformation(afb_req_t request)
int on_screen_reply(afb_req_t request, const char *message)
int unsubscribe(afb_req_t request, const char *event)
int showNotification(afb_req_t request)
int showWindow(afb_req_t request, const char *appid)
int hideWindow(afb_req_t request)
int tap_shortcut(const char *appid)