mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #179 sendCustomPacket slot and customPacketReceived signal
This commit is contained in:
@@ -198,6 +198,12 @@ namespace BlackCore
|
||||
*/
|
||||
virtual void sendTextMessages(const BlackMisc::Network::CTextMessageList &messages) = 0;
|
||||
|
||||
/*!
|
||||
* Send a custom packet.
|
||||
* \pre Network must be connected when calling this function.
|
||||
*/
|
||||
virtual void sendCustomPacket(const BlackMisc::Aviation::CCallsign &callsign, const QString &packetId, const QStringList &data) = 0;
|
||||
|
||||
//! @}
|
||||
////////////////////////////////////////////////////////////////
|
||||
//! \name ATC slots
|
||||
@@ -339,6 +345,11 @@ namespace BlackCore
|
||||
*/
|
||||
void atisLogoffTimeReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &zuluTime);
|
||||
|
||||
/*!
|
||||
* We received a custom packet. It is the slot's responsibility to decode the data.
|
||||
*/
|
||||
void customPacketReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &packetId, const QStringList &data);
|
||||
|
||||
//! @}
|
||||
////////////////////////////////////////////////////////////////
|
||||
//! \name Aircraft signals
|
||||
|
||||
Reference in New Issue
Block a user