[FSD] Style

This commit is contained in:
Klaus Basan
2019-11-17 22:29:41 +01:00
committed by Mat Sutcliffe
parent efee7968dc
commit 0876379729
2 changed files with 0 additions and 17 deletions

View File

@@ -630,22 +630,6 @@ namespace BlackCore
sendQueudedMessage(clientQuery);
}
/* Send FSD message
template <class T>
void sendMessage(const T &message)
{
if (!message.isValid()) return;
const QString payload = message.toTokens().join(':');
const QString line = message.pdu() + payload;
const QString buffer = line + "\r\n";
const QByteArray bufferEncoded = m_fsdTextCodec->fromUnicode(buffer);
emitRawFsdMessage(buffer.trimmed(), true);
if (m_printToConsole) { qDebug() << "FSD Sent=>" << bufferEncoded; }
if (!m_unitTestMode) { m_socket.write(bufferEncoded); }
}
*/
void CFSDClient::sendMessageString(const QString &message)
{
if (message.isEmpty()) { return; }

View File

@@ -428,7 +428,6 @@ namespace BlackCore
SimType m_simType = SimType::Unknown;
PilotRating m_pilotRating = PilotRating::Unknown;
AtcRating m_atcRating = AtcRating::Unknown;
QString m_com1Frequency;
// Parser
QHash<QString, MessageType> m_messageTypeMapping;