Doxygen, style

This commit is contained in:
Klaus Basan
2019-10-27 00:19:52 +02:00
committed by Mat Sutcliffe
parent 52ce9f9205
commit 0fa9bcb520
7 changed files with 8 additions and 7 deletions

View File

@@ -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

View File

@@ -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(':');

View File

@@ -235,8 +235,9 @@ namespace BlackCore
void killRequestReceived(const QString &reason);
private:
//! \private
//! \cond
friend BlackFsdTest::CTestFSDClient;
//! \endcond
//! Send FSD message
template <class T>

View File

@@ -33,7 +33,7 @@ namespace BlackCore
//! PDU identifier
static QString pdu() { return "$PO"; }
QString m_timestamp;
QString m_timestamp; //!< timestamp
private:
Pong();

View File

@@ -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
}
}

View File

@@ -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

View File

@@ -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");