[FS9] Doxygen, no need to make enum value const

This commit is contained in:
Klaus Basan
2020-04-13 04:39:25 +02:00
committed by Mat Sutcliffe
parent a3f646a792
commit afa5ba1fee
2 changed files with 5 additions and 4 deletions

View File

@@ -191,7 +191,7 @@ namespace BlackCore
this->setSimType(simInfo.getSimulator()); this->setSimType(simInfo.getSimulator());
} }
void CFSDClient::setSimType(const CSimulatorInfo::Simulator simulator) void CFSDClient::setSimType(BlackMisc::Simulation::CSimulatorInfo::Simulator simulator)
{ {
QWriteLocker l(&m_lockUserClientBuffered); QWriteLocker l(&m_lockUserClientBuffered);
switch (simulator) switch (simulator)
@@ -2124,5 +2124,6 @@ namespace BlackCore
static const QJsonObject jsonObject{ { "request", "full" } }; static const QJsonObject jsonObject{ { "request", "full" } };
return jsonObject; return jsonObject;
} }
}
} } // ns
} // ns

View File

@@ -108,7 +108,7 @@ namespace BlackCore
void setLiveryAndModelString(const QString &livery, bool sendLiveryString, const QString &modelString, bool sendModelString); void setLiveryAndModelString(const QString &livery, bool sendLiveryString, const QString &modelString, bool sendModelString);
void setSimType(const BlackMisc::Simulation::CSimulatorPluginInfo &simInfo); void setSimType(const BlackMisc::Simulation::CSimulatorPluginInfo &simInfo);
void setSimType(const BlackMisc::Simulation::CSimulatorInfo &simInfo); void setSimType(const BlackMisc::Simulation::CSimulatorInfo &simInfo);
void setSimType(const BlackMisc::Simulation::CSimulatorInfo::Simulator simulator); void setSimType(BlackMisc::Simulation::CSimulatorInfo::Simulator simulator);
void setPilotRating(PilotRating rating) { QWriteLocker l(&m_lockUserClientBuffered); m_pilotRating = rating; } void setPilotRating(PilotRating rating) { QWriteLocker l(&m_lockUserClientBuffered); m_pilotRating = rating; }
void setAtcRating(AtcRating rating) { QWriteLocker l(&m_lockUserClientBuffered); m_atcRating = rating; } void setAtcRating(AtcRating rating) { QWriteLocker l(&m_lockUserClientBuffered); m_atcRating = rating; }
//! @} //! @}