From 0876379729f029db5683fcf1cc739dbe19509feb Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 17 Nov 2019 22:29:41 +0100 Subject: [PATCH] [FSD] Style --- src/blackcore/fsd/fsdclient.cpp | 16 ---------------- src/blackcore/fsd/fsdclient.h | 1 - 2 files changed, 17 deletions(-) diff --git a/src/blackcore/fsd/fsdclient.cpp b/src/blackcore/fsd/fsdclient.cpp index 24dd82cdf..25e2daa8d 100644 --- a/src/blackcore/fsd/fsdclient.cpp +++ b/src/blackcore/fsd/fsdclient.cpp @@ -630,22 +630,6 @@ namespace BlackCore sendQueudedMessage(clientQuery); } - /* Send FSD message - template - 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; } diff --git a/src/blackcore/fsd/fsdclient.h b/src/blackcore/fsd/fsdclient.h index 17ab89fef..0b7a8cb20 100644 --- a/src/blackcore/fsd/fsdclient.h +++ b/src/blackcore/fsd/fsdclient.h @@ -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 m_messageTypeMapping;