Load P3D 64 bit SimConnect shared library at runtime

This aligns the behavior and concept with the 32 bit FSX version. SimConnect
is loaded at runtime, depending on the version being selected.
It also adds a featuren to change the P3D SimConnect version at runtime by
unloading the previous and loading a new one.

ref T349
This commit is contained in:
Roland Winklmeier
2018-10-24 14:01:12 +02:00
committed by Klaus Basan
parent 0f140cb155
commit f63008dd3f
10 changed files with 183 additions and 63 deletions

View File

@@ -42,6 +42,11 @@ namespace BlackSimPlugin
BlackMisc::Network::IClientProvider *clientProvider,
QObject *parent = nullptr);
//! \name ISimulator implementations
//! @{
virtual bool connectTo() override;
//! @}
#ifdef Q_OS_WIN64
//! \copydoc BlackMisc::Simulation::ISimulationEnvironmentProvider::requestElevation
virtual bool requestElevation(const BlackMisc::Geo::ICoordinateGeodetic &reference, const BlackMisc::Aviation::CCallsign &callsign) override;
@@ -78,6 +83,9 @@ namespace BlackSimPlugin
public:
//! Constructor
using CSimulatorFsxCommonListener::CSimulatorFsxCommonListener;
protected:
virtual void startImpl() override;
};
} // ns
} // ns