Include style

This commit is contained in:
Mat Sutcliffe
2021-09-15 15:44:14 +01:00
parent 312dec792b
commit a592bb2bbe
177 changed files with 244 additions and 255 deletions

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "actionbind.h"
#include "blackcore/actionbind.h"
namespace BlackCore
{

View File

@@ -12,7 +12,7 @@
#define BLACKCORE_ACTIONBIND_H
#include "blackcore/application.h"
#include "blackcoreexport.h"
#include "blackcore/blackcoreexport.h"
#include <QPixmap>
namespace BlackCore

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "callsigndelaycache.h"
#include "blackcore/afv/audio/callsigndelaycache.h"
namespace BlackCore::Afv::Audio
{

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "callsignsampleprovider.h"
#include "callsigndelaycache.h"
#include "blackcore/afv/audio/callsignsampleprovider.h"
#include "blackcore/afv/audio/callsigndelaycache.h"
#include "blackcore/afv/audio/receiversampleprovider.h"
#include "blacksound/sampleprovider/samples.h"

View File

@@ -8,7 +8,7 @@
//! \file
#include "input.h"
#include "blackcore/afv/audio/input.h"
#include "blacksound/audioutilities.h"
#include "blackmisc/logmessage.h"
#include "blackmisc/verify.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "output.h"
#include "blackcore/afv/audio/output.h"
#include "blacksound/audioutilities.h"
#include "blackmisc/metadatautils.h"
#include "blackmisc/logmessage.h"

View File

@@ -8,7 +8,7 @@
//! \file
#include "receiversampleprovider.h"
#include "blackcore/afv/audio/receiversampleprovider.h"
#include "blackmisc/logmessage.h"
#include "blackmisc/metadatautils.h"
#include "blacksound/sampleprovider/resourcesoundsampleprovider.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "soundcardsampleprovider.h"
#include "blackcore/afv/audio/soundcardsampleprovider.h"
#include "blackmisc/metadatautils.h"
#include "blackconfig/buildconfig.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "afvclient.h"
#include "blackcore/afv/clients/afvclient.h"
#include "blackcore/context/contextownaircraft.h"
#include "blackcore/context/contextnetwork.h"
#include "blackcore/context/contextsimulator.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "apiserverconnection.h"
#include "blackcore/afv/connection/apiserverconnection.h"
#include "blackmisc/network/networkutils.h"
#include "blackmisc/network/external/qjsonwebtoken.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "clientconnection.h"
#include "blackcore/afv/connection/clientconnection.h"
#include "blackmisc/logmessage.h"
#include "blackconfig/buildconfig.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "clientconnectiondata.h"
#include "blackcore/afv/connection/clientconnectiondata.h"
#include "blackmisc/logmessage.h"
#include <QDebug>

View File

@@ -12,7 +12,7 @@
#define BLACKCORE_AFV_CONNECTION_CLIENTCONNECTIONDATA_H
#include "blackcore/afv/dto.h"
#include "apiserverconnection.h"
#include "blackcore/afv/connection/apiserverconnection.h"
#include "blackmisc/logcategories.h"
#include "blackcore/afv/crypto/cryptodtochannel.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "cryptodtochannel.h"
#include "blackcore/afv/crypto/cryptodtochannel.h"
#include "blackmisc/verify.h"
using namespace BlackMisc;

View File

@@ -12,7 +12,7 @@
#define BLACKCORE_AFV_CRYPTO_CRYPTODTOCHANNEL_H
#include "blackcore/afv/dto.h"
#include "cryptodtomode.h"
#include "blackcore/afv/crypto/cryptodtomode.h"
#include <QDateTime>
#include <QByteArray>

View File

@@ -11,7 +11,7 @@
#ifndef BLACKCORE_AFV_CRYPTO_CRYPTODTOHEADERDTO_H
#define BLACKCORE_AFV_CRYPTO_CRYPTODTOHEADERDTO_H
#include "cryptodtomode.h"
#include "blackcore/afv/crypto/cryptodtomode.h"
#include "msgpack.hpp"
#include <QString>
#include <cstdint>

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "cryptodtoserializer.h"
#include "blackcore/afv/crypto/cryptodtoserializer.h"
namespace BlackCore::Afv::Crypto
{

View File

@@ -11,9 +11,9 @@
#ifndef BLACKCORE_AFV_CRYPTO_CRYPTODTO_SERIALIZER_H
#define BLACKCORE_AFV_CRYPTO_CRYPTODTO_SERIALIZER_H
#include "cryptodtochannel.h"
#include "cryptodtomode.h"
#include "cryptodtoheaderdto.h"
#include "blackcore/afv/crypto/cryptodtochannel.h"
#include "blackcore/afv/crypto/cryptodtomode.h"
#include "blackcore/afv/crypto/cryptodtoheaderdto.h"
#include "sodium.h"
#include <QByteArray>

View File

@@ -1,4 +1,4 @@
#include "afvmapreader.h"
#include "blackcore/afv/model/afvmapreader.h"
#include "blackcore/application.h"
#include "blackcore/afv/dto.h"
#include "blackmisc/aviation/callsign.h"

View File

@@ -9,7 +9,7 @@
#ifndef BLACKCORE_AFV_AFVMAPREADER_H
#define BLACKCORE_AFV_AFVMAPREADER_H
#include "atcstationmodel.h"
#include "blackcore/afv/model/atcstationmodel.h"
#include "blackcore/blackcoreexport.h"
#include <QObject>

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "atcstationmodel.h"
#include "blackcore/afv/model/atcstationmodel.h"
#include <QtMath>
using namespace BlackCore::Afv;

View File

@@ -22,7 +22,6 @@
#include "blackmisc/statusmessagelist.h"
#include "blackmisc/swiftdirectories.h"
#include "blackmisc/directoryutils.h"
#include "aircraftmatcher.h"
#include <QList>
#include <QStringList>

View File

@@ -7,7 +7,7 @@
*/
#include "blackcore/airspaceanalyzer.h"
#include "airspacemonitor.h"
#include "blackcore/airspacemonitor.h"
#include "blackmisc/aviation/aircraftsituation.h"
#include "blackmisc/aviation/callsign.h"
#include "blackmisc/aviation/transponder.h"

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "blackconfig/buildconfig.h"
#include "blackcore/application.h"
#include "blackconfig/buildconfig.h"
#include "blackcore/db/networkwatchdog.h"
#include "blackcore/context/contextnetwork.h"
#include "blackcore/context/contextsimulatorimpl.h"
@@ -39,7 +39,6 @@
#include "blackmisc/stringutils.h"
#include "blackmisc/threadutils.h"
#include "blackmisc/verify.h"
#include "application.h"
#include <stdbool.h>
#include <stdio.h>

View File

@@ -11,9 +11,9 @@
#ifndef BLACKCORE_CONTEXTAPPLICATION_EMPTY_H
#define BLACKCORE_CONTEXTAPPLICATION_EMPTY_H
#include "blackcoreexport.h"
#include "contextapplication.h"
#include "corefacade.h"
#include "blackcore/blackcoreexport.h"
#include "blackcore/context/contextapplication.h"
#include "blackcore/corefacade.h"
#include "blackmisc/identifierlist.h"
// clazy:excludeall=const-signal-or-slot

View File

@@ -6,15 +6,13 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "contextaudio.h"
#include "blackcore/afv/clients/afvclient.h"
#include "blackcore/context/contextaudio.h"
#include "blackcore/context/contextnetwork.h" // for user login
#include "blackcore/context/contextownaircraft.h" // for COM integration
#include "blackcore/context/contextsimulator.h" // for COM intergration
#include "blackcore/context/contextaudioimpl.h"
#include "blackcore/context/contextaudioproxy.h"
#include "blackcore/afv/clients/afvclient.h"
#include "blackmisc/simplecommandparser.h"
#include "blackmisc/dbusserver.h"
#include "blackmisc/stringutils.h"

View File

@@ -11,8 +11,8 @@
#ifndef BLACKCORE_CONTEXT_CONTEXTNETWORK_EMPTY_H
#define BLACKCORE_CONTEXT_CONTEXTNETWORK_EMPTY_H
#include "blackcoreexport.h"
#include "contextnetwork.h"
#include "blackcore/blackcoreexport.h"
#include "blackcore/context/contextnetwork.h"
#include "blackmisc/logmessage.h"
// clazy:excludeall=const-signal-or-slot

View File

@@ -37,7 +37,6 @@
#include "blackmisc/simplecommandparser.h"
#include "blackmisc/stringutils.h"
#include "blackconfig/buildconfig.h"
#include "contextnetworkimpl.h"
#include <stdbool.h>
#include <QStringBuilder>

View File

@@ -11,8 +11,8 @@
#ifndef BLACKCORE_CONTEXT_CONTEXTOWNAIRCRAFT_EMPTY_H
#define BLACKCORE_CONTEXT_CONTEXTOWNAIRCRAFT_EMPTY_H
#include "blackcoreexport.h"
#include "contextownaircraft.h"
#include "blackcore/blackcoreexport.h"
#include "blackcore/context/contextownaircraft.h"
#include "blackmisc/logmessage.h"
// clazy:excludeall=const-signal-or-slot

View File

@@ -11,8 +11,8 @@
#ifndef BLACKCORE_CONTEXT_CONTEXTSIMULATOR_EMPTY_H
#define BLACKCORE_CONTEXT_CONTEXTSIMULATOR_EMPTY_H
#include "blackcoreexport.h"
#include "contextsimulator.h"
#include "blackcore/blackcoreexport.h"
#include "blackcore/context/contextsimulator.h"
#include "blackmisc/logmessage.h"
// clazy:excludeall=const-signal-or-slot

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "contextsimulatorimpl.h"
#include "blackcore/context/contextsimulatorimpl.h"
#include "blackcore/context/contextapplication.h"
#include "blackcore/context/contextnetwork.h"
#include "blackcore/context/contextnetworkimpl.h"

View File

@@ -11,7 +11,7 @@
#ifndef BLACKCORE_COREFACADE_H
#define BLACKCORE_COREFACADE_H
#include "corefacadeconfig.h"
#include "blackcore/corefacadeconfig.h"
#include "blackcore/data/launchersetup.h"
#include "blackcore/vatsim/vatsimsettings.h"
#include "blackcore/blackcoreexport.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "launchersetup.h"
#include "blackcore/data/launchersetup.h"
#include "blackmisc/stringutils.h"
using namespace BlackMisc;

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "airportdatareader.h"
#include "blackcore/db/airportdatareader.h"
#include "blackcore/db/databaseutils.h"
#include "blackcore/application.h"
#include "blackmisc/network/networkutils.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "backgrounddataupdater.h"
#include "blackcore/db/backgrounddataupdater.h"
#include "blackcore/db/databaseutils.h"
#include "blackcore/db/databasewriter.h"
#include "blackcore/application.h"

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "blackcore/db/databaseutils.h"
#include "blackcore/application.h"
#include "databaseutils.h"
#include "blackcore/webdataservices.h"
#include "blackmisc/logmessage.h"
#include "blackmisc/fileutils.h"

View File

@@ -6,13 +6,13 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "blackcore/db/infodatareader.h"
#include "blackcore/application.h"
#include "blackcore/webdataservices.h"
#include "blackmisc/sequence.h"
#include "blackmisc/logmessage.h"
#include "blackmisc/network/networkutils.h"
#include "blackmisc/verify.h"
#include "infodatareader.h"
#include <QTimer>
#include <QJsonDocument>

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "networkwatchdog.h"
#include "application.h"
#include "blackcore/db/networkwatchdog.h"
#include "blackcore/application.h"
#include "blackmisc/logmessage.h"
#include "blackmisc/network/networkutils.h"

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "addatc.h"
#include "serializer.h"
#include "blackcore/fsd/addatc.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"
namespace BlackCore::Fsd

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "addpilot.h"
#include "serializer.h"
#include "blackcore/fsd/addpilot.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "atcdataupdate.h"
#include "serializer.h"
#include "blackcore/fsd/atcdataupdate.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "authchallenge.h"
#include "blackcore/fsd/authchallenge.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "authresponse.h"
#include "blackcore/fsd/authresponse.h"
#include "blackmisc/logmessage.h"
namespace BlackCore::Fsd

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "clientidentification.h"
#include "blackcore/fsd/clientidentification.h"
#include "blackmisc/logmessage.h"
namespace BlackCore::Fsd

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "clientquery.h"
#include "serializer.h"
#include "blackcore/fsd/clientquery.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "clientresponse.h"
#include "serializer.h"
#include "blackcore/fsd/clientresponse.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "deleteatc.h"
#include "blackcore/fsd/deleteatc.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "deletepilot.h"
#include "blackcore/fsd/deletepilot.h"
#include "blackmisc/logmessage.h"
using namespace BlackMisc;

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "flightplan.h"
#include "serializer.h"
#include "blackcore/fsd/flightplan.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,8 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "fsdclient.h"
#include "fsdclient.h"
#include "blackcore/fsd/fsdclient.h"
#include "blackcore/application.h"
#include "blackcore/fsd/addatc.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "fsdidentification.h"
#include "blackcore/fsd/fsdidentification.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "interimpilotdataupdate.h"
#include "pbh.h"
#include "blackcore/fsd/interimpilotdataupdate.h"
#include "blackcore/fsd/pbh.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "killrequest.h"
#include "blackcore/fsd/killrequest.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,9 +6,9 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "pilotdataupdate.h"
#include "pbh.h"
#include "serializer.h"
#include "blackcore/fsd/pilotdataupdate.h"
#include "blackcore/fsd/pbh.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "ping.h"
#include "blackcore/fsd/ping.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "planeinforequest.h"
#include "blackcore/fsd/planeinforequest.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "planeinforequestfsinn.h"
#include "blackcore/fsd/planeinforequestfsinn.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "planeinformation.h"
#include "blackcore/fsd/planeinformation.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "planeinformationfsinn.h"
#include "blackcore/fsd/planeinformationfsinn.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "pong.h"
#include "blackcore/fsd/pong.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,8 +6,8 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "revbclientparts.h"
#include "serializer.h"
#include "blackcore/fsd/revbclientparts.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "serializer.h"
#include "blackcore/fsd/serializer.h"
#include "blackmisc/verify.h"
#include "blackmisc/logmessage.h"
#include "blackmisc/logcategories.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "servererror.h"
#include "blackcore/fsd/servererror.h"
#include <QVector>
#include "blackmisc/logmessage.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "textmessage.h"
#include "blackcore/fsd/textmessage.h"
#include "blackmisc/logmessage.h"

View File

@@ -8,7 +8,7 @@
//! \file
#include "githubpackagesreader.h"
#include "blackcore/githubpackagesreader.h"
#include "blackcore/application.h"
#include "blackconfig/buildconfig.h"
#include <QNetworkAccessManager>

View File

@@ -6,9 +6,9 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "application.h"
#include "modelsetbuilder.h"
#include "webdataservices.h"
#include "blackcore/application.h"
#include "blackcore/modelsetbuilder.h"
#include "blackcore/webdataservices.h"
#include "blackcore/db/databaseutils.h"
#include "blackmisc/aviation/aircrafticaocodelist.h"
#include "blackmisc/simulation/aircraftmodel.h"

View File

@@ -9,7 +9,7 @@
#ifndef BLACKCORE_PROGRESS_H
#define BLACKCORE_PROGRESS_H
#include "application.h"
#include "blackcore/application.h"
namespace BlackCore
{

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "registermetadata.h"
#include "blackcore/registermetadata.h"
#include "blackcore/context/contextapplication.h"
#include "blackcore/data/launchersetup.h"
#include "blackcore/data/globalsetup.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "vatsimsettings.h"
#include "blackcore/vatsim/vatsimsettings.h"
using namespace BlackMisc;
using namespace BlackMisc::PhysicalQuantities;

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "webdataservicesms.h"
#include "blackcore/webdataservicesms.h"
#include "blackcore/webdataservices.h"
#include "blackcore/application.h"
#include "blackmisc/aviation/aircrafticaocodelist.h"

View File

@@ -6,7 +6,7 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "webreaderflags.h"
#include "blackcore/webreaderflags.h"
using namespace BlackMisc::Network;