mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Doxygen, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
52ce9f9205
commit
0fa9bcb520
@@ -1049,7 +1049,6 @@ namespace BlackCore
|
||||
const CAtcStationList matchingAtcStations = sApp->getIContextNetwork()->getOnlineStationsForFrequency(f, spacing);
|
||||
const CAtcStation closest = matchingAtcStations.findClosest(1, sApp->getIContextOwnAircraft()->getOwnAircraftSituation().getPosition()).frontOrDefault();
|
||||
|
||||
|
||||
if (fuzzyMatchCallSign(it->name, closest.getCallsign().asString()))
|
||||
{
|
||||
// this is how it should be
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace BlackCore
|
||||
|
||||
// split parser values
|
||||
if (IContextNetwork::getCmdLineOptions().isEmpty()) { return false; } // no such option, avoid warnings
|
||||
if (!sApp) { return false; }
|
||||
const QString clientIdAndKey = sApp->getParserValue("clientIdAndKey").toLower();
|
||||
if (clientIdAndKey.isEmpty() || !clientIdAndKey.contains(':')) { return false; }
|
||||
const QStringList stringList = clientIdAndKey.split(':');
|
||||
|
||||
@@ -235,8 +235,9 @@ namespace BlackCore
|
||||
void killRequestReceived(const QString &reason);
|
||||
|
||||
private:
|
||||
//! \private
|
||||
//! \cond
|
||||
friend BlackFsdTest::CTestFSDClient;
|
||||
//! \endcond
|
||||
|
||||
//! Send FSD message
|
||||
template <class T>
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace BlackCore
|
||||
//! PDU identifier
|
||||
static QString pdu() { return "$PO"; }
|
||||
|
||||
QString m_timestamp;
|
||||
QString m_timestamp; //!< timestamp
|
||||
|
||||
private:
|
||||
Pong();
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace BlackCore
|
||||
{
|
||||
namespace Fsd
|
||||
{
|
||||
//! From/to string serialization @{
|
||||
//! \cond
|
||||
template<typename T>
|
||||
inline QString toQString(const T& value);
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace BlackCore
|
||||
|
||||
template<>
|
||||
AtisLineType fromQString(const QString &str);
|
||||
//! @}
|
||||
//! \endcond
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
|
||||
//! [SwiftApplicationDemo]
|
||||
CGuiApplication::highDpiScreenSupport(CGuiApplication::parseScaleFactor(argc, argv));
|
||||
QApplication qa(argc, argv);
|
||||
Q_UNUSED(qa); // application init needed
|
||||
Q_UNUSED(qa) // application init needed
|
||||
|
||||
CCrashHandler::instance()->init();
|
||||
CSwiftGuiStdApplication a; // application with contexts
|
||||
|
||||
@@ -88,7 +88,7 @@ bool CSwiftGuiStdApplication::parsingHookIn()
|
||||
const QString dBusAddress(this->getCmdDBusAddressValue());
|
||||
if (!dBusAddress.isEmpty())
|
||||
{
|
||||
// check if rechable
|
||||
// check if reachable
|
||||
if (!CDBusServer::isDBusAvailable(dBusAddress))
|
||||
{
|
||||
this->cmdLineErrorMessage("DBus server at '" + dBusAddress + "' can not be reached");
|
||||
|
||||
Reference in New Issue
Block a user