mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #246 renamed host to server to avoid ambiguity
This commit is contained in:
@@ -438,10 +438,10 @@ namespace BlackCore
|
||||
/*
|
||||
* Host
|
||||
*/
|
||||
void CContextNetwork::psFsdServerReplyReceived(const CCallsign &callsign, const QString &host)
|
||||
void CContextNetwork::psFsdServerReplyReceived(const CCallsign &callsign, const QString &server)
|
||||
{
|
||||
if (callsign.isEmpty() || host.isEmpty()) return;
|
||||
CIndexVariantMap vm(CClient::IndexHost, QVariant(host));
|
||||
if (callsign.isEmpty() || server.isEmpty()) return;
|
||||
CIndexVariantMap vm(CClient::IndexServer, QVariant(server));
|
||||
this->m_otherClients.applyIf(&CClient::getCallsign, callsign, vm);
|
||||
}
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@ namespace BlackCore
|
||||
void psFsdCustomPacketReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &package, const QStringList &data);
|
||||
|
||||
//! Server reply received
|
||||
void psFsdServerReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &host);
|
||||
void psFsdServerReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &server);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -457,7 +457,7 @@ namespace BlackCore
|
||||
* We received a reply to one of our queries.
|
||||
* \sa sendServerQuery
|
||||
*/
|
||||
void serverReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &hostname);
|
||||
void serverReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &server);
|
||||
|
||||
/*!
|
||||
* We received a reply to one of our queries.
|
||||
|
||||
Reference in New Issue
Block a user