Add ISimulatorListener interface

This commit is contained in:
Michał Garapich
2015-01-10 02:28:01 +01:00
committed by Roland Winklmeier
parent 95829affe4
commit adc623f0e7
4 changed files with 107 additions and 31 deletions

View File

@@ -23,6 +23,10 @@ namespace BlackCore
{
emit simulatorStatusChanged(isConnected(), isSimulating(), isPaused());
}
ISimulatorListener::ISimulatorListener(QObject* parent) : QObject(parent)
{
}
CSimulatorCommon::CSimulatorCommon(const BlackSim::CSimulatorInfo &simInfo, BlackMisc::Simulation::IOwnAircraftProvider *ownAircraftProvider, BlackMisc::Simulation::IRemoteAircraftProvider *remoteAircraftProvider, QObject *parent)
: ISimulator(parent),
@@ -196,6 +200,7 @@ namespace BlackCore
{
this->m_debugMessages = driver;
Q_UNUSED(interpolator);
}
int CSimulatorCommon::getInstalledModelsCount() const