refs #321 Handle aircraft config client capability

This commit is contained in:
Roland Winklmeier
2015-02-08 12:25:53 +01:00
committed by Klaus Basan
parent b40180818c
commit afea320a2e
5 changed files with 11 additions and 7 deletions

View File

@@ -57,6 +57,7 @@ namespace BlackMisc
if (this->hasCapability(FsdAtisCanBeReceived)) sl << "ATIS";
if (this->hasCapability(FsdWithInterimPositions)) sl << "interim pos.";
if (this->hasCapability(FsdWithModelDescription)) sl << "model";
if (this->hasCapability(FsdWithAircraftConfig)) sl << "aircraft config";
if (sl.isEmpty()) return "";
return sl.join(", ");
}

View File

@@ -48,7 +48,8 @@ namespace BlackMisc
{
FsdWithInterimPositions = BlackMisc::CPropertyIndex::GlobalIndexAbuseMode,
FsdWithModelDescription,
FsdAtisCanBeReceived
FsdAtisCanBeReceived,
FsdWithAircraftConfig
};
//! Default constructor.
@@ -137,7 +138,6 @@ namespace BlackMisc
CPropertyIndexVariantMap m_capabilities;
QString m_server;
CVoiceCapabilities m_voiceCapabilities;
};
} // namespace
} // namespace