mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refactor: Rename remaining "black" identifiers
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include <QtGlobal>
|
||||
|
||||
using namespace swift::misc;
|
||||
using namespace BlackSample;
|
||||
using namespace swift::sample;
|
||||
|
||||
//! main
|
||||
int main(int argc, char *argv[])
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2014 swift Project Community / Contributors
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
||||
|
||||
#ifndef BLACKSAMPLE_BLACKMISCSIM_H
|
||||
#define BLACKSAMPLE_BLACKMISCSIM_H
|
||||
#ifndef SWIFT_SAMPLE_SWIFT_MISCSIM_H
|
||||
#define SWIFT_SAMPLE_SWIFT_MISCSIM_H
|
||||
|
||||
// just a dummy header, documentation will go here
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ using namespace swift::misc::simulation;
|
||||
using namespace swift::misc::simulation::fscommon;
|
||||
using namespace swift::misc::simulation::settings;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
void CSamplesFsCommon::samples(QTextStream &streamOut, QTextStream &streamIn)
|
||||
{
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
//! \file
|
||||
//! \ingroup samplemiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESFSCOMMON_H
|
||||
#define BLACKSAMPLE_SAMPLESFSCOMMON_H
|
||||
#ifndef SWIFT_SAMPLE_SAMPLESFSCOMMON_H
|
||||
#define SWIFT_SAMPLE_SAMPLESFSCOMMON_H
|
||||
|
||||
class QTextStream;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
//! Samples for FsCommon classes
|
||||
class CSamplesFsCommon
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::simulation;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
void CSamplesFsuipc::samplesFsuipc(QTextStream &streamOut)
|
||||
{
|
||||
using namespace BlackSimPlugin::FsCommon;
|
||||
using namespace swift::simplugin::fscommon;
|
||||
|
||||
swift::misc::registerMetadata();
|
||||
QScopedPointer<CFsuipc> fsuipc(new CFsuipc());
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
//! \file
|
||||
//! \ingroup samplemiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESFSUIPC_H
|
||||
#define BLACKSAMPLE_SAMPLESFSUIPC_H
|
||||
#ifndef SWIFT_SAMPLE_SAMPLESFSUIPC_H
|
||||
#define SWIFT_SAMPLE_SAMPLESFSUIPC_H
|
||||
|
||||
class QTextStream;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
//! Samples for FSUIPC
|
||||
class CSamplesFsuipc
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
using namespace swift::misc::simulation::fsx;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
void CSamplesFsx::samplesMisc(QTextStream &streamOut)
|
||||
{
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
//! \file
|
||||
//! \ingroup samplemiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESFSX_H
|
||||
#define BLACKSAMPLE_SAMPLESFSX_H
|
||||
#ifndef SWIFT_SAMPLE_SAMPLESFSX_H
|
||||
#define SWIFT_SAMPLE_SAMPLESFSX_H
|
||||
|
||||
class QTextStream;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
//! Samples for FSX classes
|
||||
class CSamplesFsx
|
||||
|
||||
@@ -30,7 +30,7 @@ using namespace swift::misc::simulation::fscommon;
|
||||
using namespace swift::misc::simulation::settings;
|
||||
using namespace swift::misc::aviation;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
void CSamplesModelMapping::samples(QTextStream &streamOut, QTextStream &streamIn)
|
||||
{
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
//! \file
|
||||
//! \ingroup samplemiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESMODELMAPPING_H
|
||||
#define BLACKSAMPLE_SAMPLESMODELMAPPING_H
|
||||
#ifndef SWIFT_SAMPLE_SAMPLESMODELMAPPING_H
|
||||
#define SWIFT_SAMPLE_SAMPLESMODELMAPPING_H
|
||||
|
||||
class QTextStream;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
//! Samples for model mapping classes
|
||||
class CSamplesModelMapping
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
using namespace swift::misc::simulation::fscommon;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
void CSamplesP3D::samplesMisc(QTextStream &streamOut)
|
||||
{
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
//! \file
|
||||
//! \ingroup samplemiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESP3D_H
|
||||
#define BLACKSAMPLE_SAMPLESP3D_H
|
||||
#ifndef SWIFT_SAMPLE_SAMPLESP3D_H
|
||||
#define SWIFT_SAMPLE_SAMPLESP3D_H
|
||||
|
||||
class QTextStream;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
//! Samples for P3D classes
|
||||
class CSamplesP3D
|
||||
|
||||
@@ -19,7 +19,7 @@ using namespace swift::misc;
|
||||
using namespace swift::misc::simulation;
|
||||
using namespace swift::misc::simulation::fscommon;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
|
||||
/*
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
//! \file
|
||||
//! \ingroup samplemiscsim
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLESVPILOTRULES_H
|
||||
#define BLACKSAMPLE_SAMPLESVPILOTRULES_H
|
||||
#ifndef SWIFT_SAMPLE_SAMPLESVPILOTRULES_H
|
||||
#define SWIFT_SAMPLE_SAMPLESVPILOTRULES_H
|
||||
|
||||
class QTextStream;
|
||||
|
||||
namespace BlackSample
|
||||
namespace swift::sample
|
||||
{
|
||||
//! Samples for vPilot rules
|
||||
class CSamplesVPilotRules
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKSAMPLE_SAMPLEUTILS_H
|
||||
#define BLACKSAMPLE_SAMPLEUTILS_H
|
||||
#ifndef SWIFT_SAMPLE_SAMPLEUTILS_H
|
||||
#define SWIFT_SAMPLE_SAMPLEUTILS_H
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user