As a result of the RW/KB workshop.

Prepared functions for interim position updates
* isFastPositionSendingEnabled(), enableFastPositionSending(bool enable)
* setFastPositionEnabledCallsigns ,  getFastPositionEnabledCallsigns()
This commit is contained in:
Klaus Basan
2015-03-13 18:11:05 +01:00
parent 72c796f92f
commit fb12c608b1
9 changed files with 83 additions and 28 deletions

View File

@@ -587,12 +587,12 @@ namespace BlackCore
sendCustomPacket(callsign, "FSIPIR", data);
}
void CNetworkVatlib::enableInterimPositionSending(bool enable)
void CNetworkVatlib::enableFastPositionSending(bool enable)
{
m_sendInterimPositions = enable;
}
bool CNetworkVatlib::isInterimPositionSendingEnabled() const
bool CNetworkVatlib::isFastPositionSendingEnabled() const
{
return m_sendInterimPositions;
}