mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Formatting
This commit is contained in:
committed by
Roland Winklmeier
parent
350b5a0bfa
commit
6e5e28584f
@@ -1,5 +1,5 @@
|
|||||||
/* Copyright (C) 2013
|
/* Copyright (C) 2013
|
||||||
* Swift Project Community / Contributors
|
* swift Project Community / Contributors
|
||||||
*
|
*
|
||||||
* This file is part of swift Project. It is subject to the license terms in the LICENSE file found in the top-level
|
* This file is part of swift Project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||||
@@ -22,4 +22,4 @@ namespace BlackGui
|
|||||||
this->standardInit(new CAirportListModel(this));
|
this->standardInit(new CAirportListModel(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} // namespace
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ namespace BlackGui
|
|||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CStatusMessageView(QWidget *parent = nullptr);
|
explicit CStatusMessageView(QWidget *parent = nullptr);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -503,7 +503,6 @@ namespace BlackSound
|
|||||||
void CSoundGenerator::printAllQtSoundDevices()
|
void CSoundGenerator::printAllQtSoundDevices()
|
||||||
{
|
{
|
||||||
QTextStream qtout(stdout);
|
QTextStream qtout(stdout);
|
||||||
|
|
||||||
qtout << "output" << endl;
|
qtout << "output" << endl;
|
||||||
foreach(QAudioDeviceInfo qd, QAudioDeviceInfo::availableDevices(QAudio::AudioOutput))
|
foreach(QAudioDeviceInfo qd, QAudioDeviceInfo::availableDevices(QAudio::AudioOutput))
|
||||||
{
|
{
|
||||||
@@ -515,8 +514,6 @@ namespace BlackSound
|
|||||||
{
|
{
|
||||||
qtout << qd.deviceName() << endl;
|
qtout << qd.deviceName() << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
@@ -10,16 +10,16 @@ namespace BlackMiscTest
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Supporting functions for running the tests
|
* Supporting functions for running the tests
|
||||||
*/
|
*/
|
||||||
class Tool
|
class Tool
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
//! \brief Constructor
|
//! Constructor
|
||||||
Tool() {}
|
Tool() {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! \brief Get process id
|
//! Get process id
|
||||||
static qint64 getPid()
|
static qint64 getPid()
|
||||||
{
|
{
|
||||||
return QCoreApplication::applicationPid();
|
return QCoreApplication::applicationPid();
|
||||||
@@ -28,7 +28,7 @@ namespace BlackMiscTest
|
|||||||
//! Start a new process
|
//! Start a new process
|
||||||
static QProcess *startNewProcess(const QString &executable, const QStringList &arguments = QStringList(), QObject *parent = 0);
|
static QProcess *startNewProcess(const QString &executable, const QStringList &arguments = QStringList(), QObject *parent = 0);
|
||||||
|
|
||||||
//! \brief Server loop
|
//! Server loop
|
||||||
static void serverLoop(BlackCore::CRuntime *runtime);
|
static void serverLoop(BlackCore::CRuntime *runtime);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user