Formatting, renaming

This commit is contained in:
Klaus Basan
2018-04-18 04:57:33 +02:00
committed by Roland Winklmeier
parent eb0fa92e7e
commit d021e2dcce
9 changed files with 45 additions and 35 deletions

View File

@@ -932,7 +932,7 @@ namespace BlackCore
}
// do we already have ground details?
if (situation.getOnGroundDetails() == CAircraftSituation::NotSet)
if (situation.getOnGroundDetails() == CAircraftSituation::NotSetGroundDetails)
{
const CClient client = this->getClientOrDefaultForCallsign(callsign);
if (client.hasCapability(CClient::FsdWithGroundFlag))

View File

@@ -351,7 +351,8 @@ namespace BlackCore
};
} // namespace
Q_DECLARE_INTERFACE(BlackCore::ISimulatorFactory, "org.swift-project.blackcore.simulatorinterface")
Q_DECLARE_INTERFACE(BlackCore::ISimulator, "org.swift-project.blackcore.simulator")
Q_DECLARE_INTERFACE(BlackCore::ISimulatorFactory, "org.swift-project.blackcore.simulatorfactory")
Q_DECLARE_OPERATORS_FOR_FLAGS(BlackCore::ISimulator::SimulatorStatus)
#endif // guard