refs #403 add BlackGui shared library build

This commit is contained in:
Roland Winklmeier
2015-04-10 21:55:20 +02:00
parent a13d90ada4
commit a3cfcf58c8
89 changed files with 204 additions and 90 deletions

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_AIRCRAFTCOMPONENT_H
#define BLACKGUI_AIRCRAFTCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackgui/components/enablefordockwidgetinfoarea.h"
#include "blackgui/components/updatetimer.h"
@@ -26,7 +27,7 @@ namespace BlackGui
namespace Components
{
//! Aircraft widget
class CAircraftComponent :
class BLACKGUI_EXPORT CAircraftComponent :
public QTabWidget,
public CEnableForDockWidgetInfoArea,
public CEnableForRuntime

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_ATCSTATIONCOMPONENT_H
#define BLACKGUI_ATCSTATIONCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackgui/components/enablefordockwidgetinfoarea.h"
#include "blackgui/components/updatetimer.h"
@@ -29,7 +30,7 @@ namespace BlackGui
/*!
* ATC stations component
*/
class CAtcStationComponent :
class BLACKGUI_EXPORT CAtcStationComponent :
public QTabWidget,
public CEnableForDockWidgetInfoArea,
public CEnableForRuntime

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_AUDIOCOMPONENT_H
#define BLACKGUI_AUDIOCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include <QFrame>
#include <QScopedPointer>
@@ -22,7 +23,7 @@ namespace BlackGui
namespace Components
{
//! Audio component, volume, ...
class CAudioComponent : public QFrame
class BLACKGUI_EXPORT CAudioComponent : public QFrame
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_AUDIOSETUPCOMPONENT_H
#define BLACKGUI_AUDIOSETUPCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "blackmisc/audio/audiodeviceinfolist.h"
#include <QFrame>
@@ -24,7 +25,7 @@ namespace BlackGui
namespace Components
{
//! Audio setup such as input / output devices
class CAudioSetupComponent :
class BLACKGUI_EXPORT CAudioSetupComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_AUDIOVOLUME_H
#define BLACKGUI_AUDIOVOLUME_H
#include "blackgui/blackguiexport.h"
#include <QFrame>
#include <QScopedPointer>
#include "enableforruntime.h"
@@ -23,7 +24,7 @@ namespace BlackGui
{
//! Audio volume, mixer
class CAudioVolumeComponent :
class BLACKGUI_EXPORT CAudioVolumeComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -10,6 +10,7 @@
#ifndef BLACKGUI_COCKPITCOMCOMPONENT_H
#define BLACKGUI_COCKPITCOMCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enablefordockwidgetinfoarea.h"
#include "enableforruntime.h"
#include "blackmisc/aviation/aircraft.h"
@@ -25,7 +26,7 @@ namespace BlackGui
namespace Components
{
//! The main cockpit area
class CCockpitComComponent :
class BLACKGUI_EXPORT CCockpitComComponent :
public QFrame,
public CEnableForDockWidgetInfoArea,
public CEnableForRuntime

View File

@@ -10,6 +10,7 @@
#ifndef BLACKGUI_COCKPITCOMPONENT_H
#define BLACKGUI_COCKPITCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enablefordockwidgetinfoarea.h"
#include <QWidget>
#include <QScopedPointer>
@@ -21,7 +22,7 @@ namespace BlackGui
namespace Components
{
//! Cockpit component: COM unit, show / hide bar, voice rooms
class CCockpitComponent :
class BLACKGUI_EXPORT CCockpitComponent :
public QWidget,
public CEnableForDockWidgetInfoArea
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_COCKPITINFOAREACOMPONENT_H
#define BLACKGUI_COCKPITINFOAREACOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "../infoarea.h"
#include <QMainWindow>
#include <QScopedPointer>
@@ -23,7 +24,7 @@ namespace BlackGui
{
//! The cockpit itself is part of the main info area, but itself also an info area.
//! hence windows can be docked in the cockpit too.
class CCockpitInfoAreaComponent : public BlackGui::CInfoArea
class BLACKGUI_EXPORT CCockpitInfoAreaComponent : public BlackGui::CInfoArea
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKMISC_COCKPITTRANSPONDERMODELEDSCOMPONENT_H
#define BLACKMISC_COCKPITTRANSPONDERMODELEDSCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "../led.h"
#include "blackmisc/aviation/aircraft.h"
@@ -24,7 +25,7 @@ namespace BlackGui
{
//! LEDs representing transponder mode state
class CCockpitTransponderModeLedsComponent : public QFrame, public CEnableForRuntime
class BLACKGUI_EXPORT CCockpitTransponderModeLedsComponent : public QFrame, public CEnableForRuntime
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_ENABLEFORDOCKWIDGETINFOAREA_H
#define BLACKGUI_ENABLEFORDOCKWIDGETINFOAREA_H
#include "blackgui/blackguiexport.h"
#include "blackgui/dockwidgetinfoarea.h"
#include "blackgui/infoarea.h"
#include "blackgui/enableforframelesswindow.h"
@@ -24,7 +25,7 @@ namespace BlackGui
//! Helper class: If a component is residing in an dockable widget.
//! This class provides access to its info area and dockable widget.
class CEnableForDockWidgetInfoArea
class BLACKGUI_EXPORT CEnableForDockWidgetInfoArea
{
public:
//! Corresponding dockable widget in info area

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_ENABLEFORRUNTIME_H
#define BLACKGUI_ENABLEFORRUNTIME_H
#include "blackgui/blackguiexport.h"
#include "blackcore/context_runtime.h"
#include "blackmisc/notificationsounds.h"
#include <QTimer>
@@ -39,7 +40,7 @@ namespace BlackGui
* the component widely independent from a central data provideer
* \sa BlackCore::CRuntime
*/
class CEnableForRuntime
class BLACKGUI_EXPORT CEnableForRuntime
{
public:
//! Set runtime, usually set by runtime owner (must only be one, usually main window)

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_FLIGHTPLANCOMPONENT_H
#define BLACKGUI_FLIGHTPLANCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackmisc/aviation/aircraft.h"
#include "blackmisc/aviation/flightplan.h"
@@ -25,7 +26,7 @@ namespace BlackGui
{
//! Flight plan widget
class CFlightPlanComponent :
class BLACKGUI_EXPORT CFlightPlanComponent :
public QTabWidget,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_INFOBARSTATUSCOMPONENT_H
#define BLACKGUI_INFOBARSTATUSCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "../led.h"
#include <QFrame>
@@ -23,7 +24,7 @@ namespace BlackGui
namespace Components
{
//! Info bar displaying status (Network, Simulator, DBus)
class CInfoBarStatusComponent :
class BLACKGUI_EXPORT CInfoBarStatusComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_INFOWINDOW_H
#define BLACKGUI_INFOWINDOW_H
#include "blackgui/blackguiexport.h"
#include "blackmisc/network/textmessage.h"
#include "blackmisc/statusmessage.h"
#include "blackmisc/variant.h"
@@ -29,7 +30,7 @@ namespace BlackGui
/*!
* Multi purpose info window (like pop up window)
*/
class CInfoWindowComponent : public QWizardPage
class BLACKGUI_EXPORT CInfoWindowComponent : public QWizardPage
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_INTERNALSCOMPONENT_H
#define BLACKGUI_INTERNALSCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include <QWidget>
#include <QScopedArrayPointer>
@@ -24,7 +25,7 @@ namespace BlackGui
{
//! Internals for debugging, statistics
class CInternalsComponent :
class BLACKGUI_EXPORT CInternalsComponent :
public QWidget,
public CEnableForRuntime
{

View File

@@ -10,6 +10,7 @@
#ifndef BLACKGUI_COMPONENTS_INVISIBLEINFOAREACOMPONENT_H
#define BLACKGUI_COMPONENTS_INVISIBLEINFOAREACOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/infoarea.h"
#include "blackgui/components/navigatordockwidget.h"
#include <QMainWindow>
@@ -22,7 +23,7 @@ namespace BlackGui
{
//! Info area to carry info areas on visibile when floating
class CInvisibleInfoAreaComponent : public BlackGui::CInfoArea
class BLACKGUI_EXPORT CInvisibleInfoAreaComponent : public BlackGui::CInfoArea
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_LOGCOMPONENT_H
#define BLACKGUI_LOGCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "blackmisc/statusmessagelist.h"
@@ -26,7 +27,7 @@ namespace BlackGui
{
//! GUI displaying log and status messages
class CLogComponent :
class BLACKGUI_EXPORT CLogComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_LOGINCOMPONENT_H
#define BLACKGUI_LOGINCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "blackmisc/aviation/aircraft.h"
#include "blackmisc/network/server.h"
@@ -26,7 +27,7 @@ namespace BlackGui
{
//! Login component
class CLoginComponent :
class BLACKGUI_EXPORT CLoginComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_MAININFOAREACOMPONENT_H
#define BLACKGUI_MAININFOAREACOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "../infoarea.h"
#include "allmaininfoareacomponents.h"
#include <QTabBar>
@@ -24,7 +25,7 @@ namespace BlackGui
namespace Components
{
//! Main info area
class CMainInfoAreaComponent : public BlackGui::CInfoArea
class BLACKGUI_EXPORT CMainInfoAreaComponent : public BlackGui::CInfoArea
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_MAINKEYPADAREACOMPONENT_H
#define BLACKGUI_MAINKEYPADAREACOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "maininfoareacomponent.h"
#include "enableforruntime.h"
#include "blackmisc/aviation/aircraft.h"
@@ -29,7 +30,7 @@ namespace BlackGui
//! Main keypad area as used with main info area
//! \sa CMainInfoAreaComponent
class CMainKeypadAreaComponent :
class BLACKGUI_EXPORT CMainKeypadAreaComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_MAPPINGCOMPONENT_H
#define BLACKGUI_MAPPINGCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackgui/components/enablefordockwidgetinfoarea.h"
#include "blackgui/views/checkboxdelegate.h"
@@ -28,7 +29,7 @@ namespace BlackGui
namespace Components
{
//! Mappings, models etc.
class CMappingComponent :
class BLACKGUI_EXPORT CMappingComponent :
public QFrame,
public CEnableForDockWidgetInfoArea,
public CEnableForRuntime

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_COMPONENTS_NAVIGATORDOCKWIDGET_H
#define BLACKGUI_COMPONENTS_NAVIGATORDOCKWIDGET_H
#include "blackgui/blackguiexport.h"
#include "blackgui/dockwidgetinfoarea.h"
#include <QDockWidget>
#include <QScopedPointer>
@@ -24,7 +25,7 @@ namespace BlackGui
{
//! Dock widget for navigators
class CNavigatorDockWidget : public BlackGui::CDockWidgetInfoArea
class BLACKGUI_EXPORT CNavigatorDockWidget : public BlackGui::CDockWidgetInfoArea
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_REMOTEAIRCRAFTSELECTOR_H
#define BLACKGUI_REMOTEAIRCRAFTSELECTOR_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "blackmisc/aviation/callsign.h"
#include "blackmisc/simulation/simulatedaircraftlist.h"
@@ -27,7 +28,7 @@ namespace BlackGui
namespace Components
{
//! Select a remote aircraft
class CRemoteAircraftSelector : public QFrame, public CEnableForRuntime
class BLACKGUI_EXPORT CRemoteAircraftSelector : public QFrame, public CEnableForRuntime
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_SETTINGSCOMPONENT_H
#define BLACKGUI_SETTINGSCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackmisc/network/server.h"
#include "blackmisc/aviation/aircrafticao.h"
@@ -28,7 +29,7 @@ namespace BlackGui
{
//! Settings component
class CSettingsComponent :
class BLACKGUI_EXPORT CSettingsComponent :
public QTabWidget,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_SETTINGSFSXCOMPONENT_H
#define BLACKGUI_SETTINGSFSXCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include <QFrame>
#include <QScopedPointer>
@@ -23,7 +24,7 @@ namespace BlackGui
namespace Components
{
//! Settings for FSX
class CSettingsFsxComponent : public QFrame, public CEnableForRuntime
class BLACKGUI_EXPORT CSettingsFsxComponent : public QFrame, public CEnableForRuntime
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_SETTINGSNETWORKCOMPONENT_H
#define BLACKGUI_SETTINGSNETWORKCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include <QFrame>
@@ -23,7 +24,7 @@ namespace BlackGui
{
//! General settings for network
class CSettingsNetworkComponent :
class BLACKGUI_EXPORT CSettingsNetworkComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_SETTINGSNETWORKSERVERSCOMPONENT_H
#define BLACKGUI_SETTINGSNETWORKSERVERSCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include <QFrame>
#include <QScopedPointer>
@@ -23,7 +24,7 @@ namespace BlackGui
namespace Components
{
//! Settings for network servers
class CSettingsNetworkServersComponent :
class BLACKGUI_EXPORT CSettingsNetworkServersComponent :
public QFrame,
public CEnableForRuntime
{

View File

@@ -10,6 +10,7 @@
#ifndef BLACKGUI_SETTINGSSIMULATORCOMPONENT_H
#define BLACKGUI_SETTINGSSIMULATORCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackmisc/simulation/setsimulator.h"
#include "enableforruntime.h"
#include "enableforruntime.h"
@@ -24,7 +25,7 @@ namespace BlackGui
/*!
* All simulator settings component (GUI)
*/
class CSettingsSimulatorComponent : public QFrame, public CEnableForRuntime
class BLACKGUI_EXPORT CSettingsSimulatorComponent : public QFrame, public CEnableForRuntime
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_SIMULATORCOMPONENT_H
#define BLACKGUI_SIMULATORCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "blackmisc/icon.h"
#include "blackgui/components/enablefordockwidgetinfoarea.h"
@@ -27,7 +28,7 @@ namespace BlackGui
{
//! Simulator component
class CSimulatorComponent :
class BLACKGUI_EXPORT CSimulatorComponent :
public QTabWidget,
public CEnableForDockWidgetInfoArea,
public CEnableForRuntime

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_TEXTMESSAGECOMPONENT_H
#define BLACKGUI_TEXTMESSAGECOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackgui/components/enablefordockwidgetinfoarea.h"
#include "blackgui/textmessagetextedit.h"
@@ -30,7 +31,7 @@ namespace BlackGui
namespace Components
{
//! Text message widget
class CTextMessageComponent :
class BLACKGUI_EXPORT CTextMessageComponent :
public QFrame,
public CEnableForRuntime,
public CEnableForDockWidgetInfoArea

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_UPDATETIMER_H
#define BLACKGUI_UPDATETIMER_H
#include "blackgui/blackguiexport.h"
#include <QTimer>
#include <QDateTime>
@@ -20,7 +21,7 @@ namespace BlackGui
namespace Components
{
//! Timer used in components for updates
class CUpdateTimer: public QObject
class BLACKGUI_EXPORT CUpdateTimer: public QObject
{
Q_OBJECT

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_USERCOMPONENT_H
#define BLACKGUI_USERCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "blackgui/components/enableforruntime.h"
#include "blackgui/components/enablefordockwidgetinfoarea.h"
#include "blackgui/components/updatetimer.h"
@@ -27,7 +28,7 @@ namespace BlackGui
namespace Components
{
//! User componenet (users, clients)
class CUserComponent :
class BLACKGUI_EXPORT CUserComponent :
public QTabWidget,
public CEnableForDockWidgetInfoArea,
public CEnableForRuntime

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_VOICEROOMSCOMPONENT_H
#define BLACKGUI_VOICEROOMSCOMPONENT_H
#include "blackgui/blackguiexport.h"
#include "enableforruntime.h"
#include "blackmisc/audio/voiceroomlist.h"
#include <QFrame>
@@ -24,7 +25,7 @@ namespace BlackGui
namespace Components
{
//! Displays the voice rooms
class CVoiceRoomsComponent :
class BLACKGUI_EXPORT CVoiceRoomsComponent :
public QFrame,
public CEnableForRuntime
{