mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #321 Handle aircraft config client capability
This commit is contained in:
committed by
Klaus Basan
parent
b40180818c
commit
afea320a2e
@@ -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(", ");
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user