- typedef int (HS_ClientManager::*func_handler)(afb_req_t);
- const std::unordered_map<std::string, func_handler> func_list {
- {"tap_shortcut", &HS_ClientManager::tap_shortcut},
- {"showWindow", &HS_ClientManager::showWindow},
- {"hideWindow", &HS_ClientManager::hideWindow},
- {"replyShowWindow", &HS_ClientManager::replyShowWindow},
- {"on_screen_message", &HS_ClientManager::on_screen_message},
- {"on_screen_reply", &HS_ClientManager::on_screen_reply},
- {"subscribe", &HS_ClientManager::subscribe},
- {"unsubscribe", &HS_ClientManager::unsubscribe},
- {"showNotification", &HS_ClientManager::showNotification},
- {"showInformation", &HS_ClientManager::showInformation}
- };
-