| 35 | } |
| 36 | |
| 37 | void ChatReceiver::eventProcess(const dpf::Event &event) |
| 38 | { |
| 39 | const auto &eventName = event.data().toString(); |
| 40 | if (!eventHandleMap.contains(eventName)) |
| 41 | return; |
| 42 | |
| 43 | eventHandleMap[eventName](event); |
| 44 | } |
| 45 | |
| 46 | void ChatReceiver::processContextMenuEvent(const dpf::Event &event) |
| 47 | { |
no test coverage detected