INetwork builds up the ATIS as it is received, line-by-line, keeping this implementation detail more encapsulated

refs #81
This commit is contained in:
Mathew Sutcliffe
2014-01-08 00:08:29 +00:00
parent f3758e5609
commit b475d7eff1
6 changed files with 35 additions and 5 deletions

View File

@@ -365,9 +365,9 @@ void Client::atcQueryReplyReceived(const BlackMisc::Aviation::CCallsign &callsig
std::cout << "ATC_REPLY " << callsign << (isATC ? " yes" : " no") << std::endl;
}
void Client::atisQueryReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &data)
void Client::atisQueryReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Aviation::CInformationMessage &atis)
{
std::cout << "ATIS_REPLY " << callsign << " " << data.toStdString() << std::endl;
std::cout << "ATIS_REPLY " << callsign << " " << atis << std::endl;
}
void Client::nameQueryReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &realname)