diff --git a/intention/cooperate/plugin/include/input_event_transmission/input_event_serialization.h b/intention/cooperate/plugin/include/input_event_transmission/input_event_serialization.h index 99d7ad33c..8d4eb4741 100644 --- a/intention/cooperate/plugin/include/input_event_transmission/input_event_serialization.h +++ b/intention/cooperate/plugin/include/input_event_transmission/input_event_serialization.h @@ -34,6 +34,7 @@ public: static int32_t NetPacketToKeyEvent(NetPacket &pkt, std::shared_ptr key); static int32_t SwitchEventToNetPacket(const std::shared_ptr key, NetPacket &pkt); static int32_t NetPacketToSwitchEvent(NetPacket &pkt, std::shared_ptr key); + static int32_t HeartBeatMarshalling(NetPacket &pkt); static int32_t Marshalling(std::shared_ptr event, NetPacket &pkt); static int32_t Unmarshalling(NetPacket &pkt, std::shared_ptr event); #ifdef OHOS_BUILD_ENABLE_SECURITY_PART