mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T270, Ref T268, plugin common / simulator improvements
* connect with "about to quit" * added interface declarations * sim statistics, use common function setStatsRemoteAircraftUpdate and double for average values
This commit is contained in:
@@ -19,9 +19,12 @@ namespace BlackSimPlugin
|
||||
namespace P3D
|
||||
{
|
||||
//! P3D Simulator Implementation
|
||||
class CSimulatorP3D : public BlackSimPlugin::FsxCommon::CSimulatorFsxCommon
|
||||
class CSimulatorP3D : public FsxCommon::CSimulatorFsxCommon
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(BlackCore::ISimulator)
|
||||
Q_INTERFACES(BlackMisc::Simulation::ISimulationEnvironmentProvider)
|
||||
Q_INTERFACES(BlackMisc::Simulation::IInterpolationSetupProvider)
|
||||
|
||||
public:
|
||||
//! Constructor, parameters as in \sa BlackCore::ISimulatorFactory::create
|
||||
@@ -41,7 +44,7 @@ namespace BlackSimPlugin
|
||||
};
|
||||
|
||||
//! Listener for P3D
|
||||
class CSimulatorP3DListener : public BlackSimPlugin::FsxCommon::CSimulatorFsxCommonListener
|
||||
class CSimulatorP3DListener : public FsxCommon::CSimulatorFsxCommonListener
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user