refs #246 renamed host to server to avoid ambiguity

This commit is contained in:
Mathew Sutcliffe
2014-06-12 15:27:33 +01:00
parent ab72dce8b5
commit 8dccc8d792
8 changed files with 20 additions and 20 deletions

View File

@@ -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);
}

View File

@@ -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);
};
}

View File

@@ -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.