mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T111, allow to set SELCAL in simulator
This commit is contained in:
committed by
Mathew Sutcliffe
parent
266a418c90
commit
66773d7593
@@ -198,6 +198,16 @@ namespace BlackSimPlugin
|
||||
return changed;
|
||||
}
|
||||
|
||||
bool CSimulatorFsxCommon::updateOwnSimulatorSelcal(const CSelcal &selcal, const CIdentifier &originator)
|
||||
{
|
||||
if (originator == this->identifier()) { return false; }
|
||||
if (!this->isSimulating()) { return false; }
|
||||
|
||||
//! \fixme KB 2017/8 use SELCAL
|
||||
Q_UNUSED(selcal);
|
||||
return false;
|
||||
}
|
||||
|
||||
void CSimulatorFsxCommon::displayStatusMessage(const BlackMisc::CStatusMessage &message) const
|
||||
{
|
||||
QByteArray m = message.getMessage().toLocal8Bit().constData();
|
||||
|
||||
@@ -114,6 +114,7 @@ namespace BlackSimPlugin
|
||||
virtual bool physicallyRemoveRemoteAircraft(const BlackMisc::Aviation::CCallsign &callsign) override;
|
||||
virtual int physicallyRemoveAllRemoteAircraft() override;
|
||||
virtual bool updateOwnSimulatorCockpit(const BlackMisc::Simulation::CSimulatedAircraft &ownAircraft, const BlackMisc::CIdentifier &originator) override;
|
||||
virtual bool updateOwnSimulatorSelcal(const BlackMisc::Aviation::CSelcal &selcal, const BlackMisc::CIdentifier &originator) override;
|
||||
virtual void displayStatusMessage(const BlackMisc::CStatusMessage &message) const override;
|
||||
virtual void displayTextMessage(const BlackMisc::Network::CTextMessage &message) const override;
|
||||
virtual bool isPhysicallyRenderedAircraft(const BlackMisc::Aviation::CCallsign &callsign) const override;
|
||||
|
||||
Reference in New Issue
Block a user