mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-10 11:36:08 +08:00
Style
This commit is contained in:
@@ -25,16 +25,8 @@ namespace BlackMisc
|
||||
{
|
||||
class CLogCategoryList;
|
||||
class CStatusMessageList;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
namespace Aviation { class CCallsign; }
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
#include "blackcoreexport.h"
|
||||
#include "blackmisc/audio/audiodeviceinfo.h"
|
||||
#include "blackmisc/audio/audiodeviceinfolist.h"
|
||||
#include <QObject>
|
||||
|
||||
//! \file
|
||||
#include <QObject>
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -24,10 +24,7 @@
|
||||
#include <QString>
|
||||
#include <QtGlobal>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CLogCategoryList;
|
||||
}
|
||||
namespace BlackMisc { class CLogCategoryList; }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -36,10 +36,7 @@
|
||||
|
||||
class QDBusConnection;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
}
|
||||
namespace BlackMisc { class CDBusServer; }
|
||||
|
||||
//! \addtogroup dbus
|
||||
//! @{
|
||||
|
||||
@@ -34,16 +34,8 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace Audio
|
||||
{
|
||||
class CAudioDeviceInfo;
|
||||
}
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
namespace Audio { class CAudioDeviceInfo; }
|
||||
namespace Aviation { class CCallsign; }
|
||||
}
|
||||
|
||||
//! \addtogroup dbus
|
||||
|
||||
@@ -33,16 +33,8 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CGenericDBusInterface;
|
||||
|
||||
namespace Audio
|
||||
{
|
||||
class CAudioDeviceInfo;
|
||||
}
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
namespace Audio { class CAudioDeviceInfo; }
|
||||
namespace Aviation { class CCallsign; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -43,22 +43,13 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CAircraftParts;
|
||||
class CCallsign;
|
||||
}
|
||||
|
||||
namespace Network
|
||||
{
|
||||
class CTextMessage;
|
||||
}
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CAircraftModel;
|
||||
}
|
||||
namespace Network { class CTextMessage; }
|
||||
namespace Simulation { class CAircraftModel; }
|
||||
}
|
||||
|
||||
//! \addtogroup dbus
|
||||
|
||||
@@ -54,7 +54,6 @@ class QTimer;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CAircraftParts;
|
||||
|
||||
@@ -44,16 +44,12 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CGenericDBusInterface;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CAircraftParts;
|
||||
class CCallsign;
|
||||
}
|
||||
namespace Simulation
|
||||
{
|
||||
class CAircraftModel;
|
||||
}
|
||||
namespace Simulation { class CAircraftModel; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -33,7 +33,6 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CAircraftIcaoCode;
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CAircraftIcaoCode;
|
||||
|
||||
@@ -32,7 +32,6 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CGenericDBusInterface;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CAircraftIcaoCode;
|
||||
|
||||
@@ -46,11 +46,7 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -38,16 +38,8 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
namespace Aviation { class CCallsign; }
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -32,11 +32,7 @@ class QDBusConnection;
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CGenericDBusInterface;
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -22,10 +22,7 @@
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
}
|
||||
namespace BlackMisc { class CDBusServer; }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -22,13 +22,7 @@
|
||||
|
||||
class QNetworkReply;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Network
|
||||
{
|
||||
class CAuthenticatedUser;
|
||||
}
|
||||
}
|
||||
namespace BlackMisc { namespace Network { class CAuthenticatedUser; } }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -28,10 +28,7 @@
|
||||
|
||||
class QNetworkReply;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CLogCategoryList;
|
||||
}
|
||||
namespace BlackMisc { class CLogCategoryList; }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -21,13 +21,7 @@
|
||||
#include <QString>
|
||||
#include <QtGlobal>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
}
|
||||
namespace BlackMisc { namespace Aviation { class CCallsign; } }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -23,15 +23,8 @@ class QObject;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class IRemoteAircraftProvider;
|
||||
}
|
||||
namespace Aviation { class CCallsign; }
|
||||
namespace Simulation { class IRemoteAircraftProvider; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -45,14 +45,8 @@ class QTextCodec;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CFlightPlan;
|
||||
}
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
namespace Aviation { class CFlightPlan; }
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -23,10 +23,7 @@
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CVariant;
|
||||
}
|
||||
namespace BlackMisc { class CVariant; }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -29,10 +29,7 @@
|
||||
|
||||
class QNetworkReply;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CLogCategoryList;
|
||||
}
|
||||
namespace BlackMisc { class CLogCategoryList; }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -32,27 +32,15 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class IPluginStorageProvider;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
|
||||
namespace Network
|
||||
{
|
||||
class CTextMessage;
|
||||
}
|
||||
|
||||
namespace Aviation { class CCallsign; }
|
||||
namespace Network { class CTextMessage; }
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatorSetup;
|
||||
class IOwnAircraftProvider;
|
||||
class IRemoteAircraftProvider;
|
||||
}
|
||||
namespace Weather
|
||||
{
|
||||
class IWeatherGridProvider;
|
||||
}
|
||||
namespace Weather { class IWeatherGridProvider; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -42,7 +42,6 @@ namespace BlackMisc
|
||||
class CAircraftSituation;
|
||||
class CCallsign;
|
||||
}
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CAirspaceAircraftSnapshot;
|
||||
|
||||
@@ -34,13 +34,7 @@
|
||||
|
||||
class QNetworkReply;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
}
|
||||
namespace BlackMisc { namespace Simulation { class CSimulatedAircraft; } }
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
|
||||
@@ -21,11 +21,6 @@
|
||||
#include <QObject>
|
||||
#include <QVector>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
template <typename F> class CSlot;
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
class IWeatherData;
|
||||
|
||||
@@ -47,18 +47,8 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CLogCategoryList;
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
class CCallsign;
|
||||
}
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
|
||||
template <typename T> class Restricted;
|
||||
namespace Aviation { class CCallsign; }
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
}
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
|
||||
#include <QtPlugin>
|
||||
|
||||
class QWidget;
|
||||
|
||||
namespace BlackGui
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/aviation/modulator.h"
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace BlackMisc
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#ifndef BLACKMISC_AVIATION_AIRCRAFTPARTSLIST_H
|
||||
#define BLACKMISC_AVIATION_AIRCRAFTPARTSLIST_H
|
||||
|
||||
#include "aircraftparts.h"
|
||||
#include "blackmisc/aviation/aircraftparts.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/collection.h"
|
||||
#include "blackmisc/sequence.h"
|
||||
|
||||
@@ -25,14 +25,8 @@ class QStringList;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace PhysicalQuantities
|
||||
{
|
||||
class CFrequency;
|
||||
}
|
||||
}
|
||||
namespace PhysicalQuantities { class CFrequency; }
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -21,10 +21,7 @@ namespace BlackMisc
|
||||
{
|
||||
class CStatusMessageList;
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
class CAircraftModelList;
|
||||
}
|
||||
namespace Simulation { class CAircraftModelList; }
|
||||
|
||||
/*!
|
||||
* Class with datastore related utilities
|
||||
|
||||
@@ -31,10 +31,7 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CIcon;
|
||||
namespace PhysicalQuantities
|
||||
{
|
||||
class CAngle;
|
||||
}
|
||||
namespace PhysicalQuantities { class CAngle; }
|
||||
|
||||
namespace Mixin
|
||||
{
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
#include <QIcon>
|
||||
#include <QImage>
|
||||
#include <QMap>
|
||||
#include <QMetaType>
|
||||
#include <QPixmap>
|
||||
#include <QString>
|
||||
#include <Qt>
|
||||
|
||||
class QSize;
|
||||
template <class Key, class T> class QMap;
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#define BLACKMISC_MATH_MATHUTILS_H
|
||||
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
#include <QtCore/qmath.h>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#define BLACKMISC_PREDICATES_H
|
||||
|
||||
#include "integersequence.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CTransponder;
|
||||
}
|
||||
namespace Aviation { class CTransponder; }
|
||||
|
||||
namespace Simulation
|
||||
{
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#define BLACKMISC_SIMULATION_XPLANE_XPLANEUTIL_H
|
||||
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace BlackMisc
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "logcategorylist.h"
|
||||
#include "timestampbased.h"
|
||||
#include "typetraits.h"
|
||||
|
||||
#include <QReadWriteLock>
|
||||
|
||||
namespace BlackMisc
|
||||
|
||||
@@ -47,10 +47,6 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CLogCategoryList;
|
||||
}
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
/*!
|
||||
* Value class used for signalling changed values in the cache.
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "iconlist.h"
|
||||
#include "dictionary.h"
|
||||
#include "stringutils.h"
|
||||
|
||||
#include <QtDBus/QDBusMetaType>
|
||||
#include <QString>
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -23,10 +23,7 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CAltitude;
|
||||
}
|
||||
namespace Aviation { class CAltitude; }
|
||||
|
||||
namespace Weather
|
||||
{
|
||||
|
||||
@@ -24,10 +24,7 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CAltitude;
|
||||
}
|
||||
namespace Aviation { class CAltitude; }
|
||||
|
||||
namespace Weather
|
||||
{
|
||||
|
||||
@@ -23,10 +23,7 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CAltitude;
|
||||
}
|
||||
namespace Aviation { class CAltitude; }
|
||||
|
||||
namespace Weather
|
||||
{
|
||||
|
||||
@@ -23,10 +23,7 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Geo
|
||||
{
|
||||
class ICoordinateGeodetic;
|
||||
}
|
||||
namespace Geo { class ICoordinateGeodetic; }
|
||||
|
||||
namespace Weather
|
||||
{
|
||||
|
||||
@@ -23,10 +23,7 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
{
|
||||
class CAltitude;
|
||||
}
|
||||
namespace Aviation { class CAltitude; }
|
||||
|
||||
namespace Weather
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user