mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Ref T289, merge CSimulatorCommonn/ISimulator
This commit is contained in:
@@ -31,7 +31,7 @@ namespace BlackSimPlugin
|
||||
IWeatherGridProvider *weatherGridProvider,
|
||||
IClientProvider *clientProvider,
|
||||
QObject *parent) :
|
||||
CSimulatorCommon(info, ownAircraftProvider, renderedAircraftProvider, weatherGridProvider, clientProvider, parent)
|
||||
ISimulator(info, ownAircraftProvider, renderedAircraftProvider, weatherGridProvider, clientProvider, parent)
|
||||
{
|
||||
CSimulatorPluginCommon::registerHelp();
|
||||
}
|
||||
@@ -75,19 +75,19 @@ namespace BlackSimPlugin
|
||||
this->showInterpolationDisplay();
|
||||
return true;
|
||||
}
|
||||
return CSimulatorCommon::parseDetails(parser);
|
||||
return false;
|
||||
}
|
||||
|
||||
void CSimulatorPluginCommon::unload()
|
||||
{
|
||||
this->deleteInterpolationDisplay();
|
||||
CSimulatorCommon::unload();
|
||||
ISimulator::unload();
|
||||
}
|
||||
|
||||
bool CSimulatorPluginCommon::disconnectFrom()
|
||||
{
|
||||
this->deleteInterpolationDisplay();
|
||||
return CSimulatorCommon::disconnectFrom();
|
||||
return ISimulator::disconnectFrom();
|
||||
}
|
||||
|
||||
void CSimulatorPluginCommon::registerHelp()
|
||||
|
||||
Reference in New Issue
Block a user