mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
74bea4959e
commit
55f70a794e
@@ -448,9 +448,9 @@ namespace BlackMisc
|
|||||||
{
|
{
|
||||||
switch (lockFile.error())
|
switch (lockFile.error())
|
||||||
{
|
{
|
||||||
case QLockFile::NoError: return QStringLiteral("No error");
|
case QLockFile::NoError: return QStringLiteral("No error");
|
||||||
case QLockFile::PermissionError: return QStringLiteral("Insufficient permission");
|
case QLockFile::PermissionError: return QStringLiteral("Insufficient permission");
|
||||||
case QLockFile::UnknownError: return QStringLiteral("Unknown error");
|
case QLockFile::UnknownError: return QStringLiteral("Unknown error");
|
||||||
case QLockFile::LockFailedError:
|
case QLockFile::LockFailedError:
|
||||||
{
|
{
|
||||||
QString hostname, appname;
|
QString hostname, appname;
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ namespace BlackSound
|
|||||||
CSelcalPlayer(const QAudioDeviceInfo &device = QAudioDeviceInfo::defaultOutputDevice(), QObject *parent = nullptr);
|
CSelcalPlayer(const QAudioDeviceInfo &device = QAudioDeviceInfo::defaultOutputDevice(), QObject *parent = nullptr);
|
||||||
|
|
||||||
//! Destructor
|
//! Destructor
|
||||||
~CSelcalPlayer();
|
virtual ~CSelcalPlayer() override;
|
||||||
|
|
||||||
//! Play selcal
|
//! Play SELCAL
|
||||||
//! \return Time of the played tone
|
//! \return Time of the played tone
|
||||||
BlackMisc::PhysicalQuantities::CTime play(int volume, const BlackMisc::Aviation::CSelcal &selcal);
|
BlackMisc::PhysicalQuantities::CTime play(int volume, const BlackMisc::Aviation::CSelcal &selcal);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user