mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:15:29 +08:00
Fix BlackGui header includes
* Include only what is used * Use forward declaration when possible * Sorted includes refs #598
This commit is contained in:
@@ -13,27 +13,32 @@
|
||||
#define BLACKGUI_MAININFOAREACOMPONENT_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "../infoarea.h"
|
||||
#include <QTabBar>
|
||||
#include <QPixmap>
|
||||
#include "blackgui/infoarea.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
#include <QSize>
|
||||
|
||||
class QPixmap;
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CMainInfoAreaComponent; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
class CAircraftComponent;
|
||||
class CAtcStationComponent;
|
||||
// forward declaration to break compile dependency from all components
|
||||
class CCockpitComponent;
|
||||
class CAtcStationComponent;
|
||||
class CAircraftComponent;
|
||||
class CMappingComponent;
|
||||
class CUserComponent;
|
||||
class CFlightPlanComponent;
|
||||
class CSettingsComponent;
|
||||
class CLogComponent;
|
||||
class CMappingComponent;
|
||||
class CSettingsComponent;
|
||||
class CSimulatorComponent;
|
||||
class CTextMessageComponent;
|
||||
class CUserComponent;
|
||||
|
||||
|
||||
//! Main info area
|
||||
|
||||
Reference in New Issue
Block a user