Fix BlackGui header includes

* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
This commit is contained in:
Roland Winklmeier
2016-05-18 16:30:30 +02:00
parent 933271b828
commit f4c2939253
352 changed files with 3422 additions and 959 deletions

View File

@@ -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