Ref T270, added CSimulatorPluginCommon as base class in driver project

* unlike BlackCore::CSimulatorCommon we can add also UI aspects here
* used by emulated driver, XP and the FS series
This commit is contained in:
Klaus Basan
2018-05-16 21:23:00 +02:00
parent afe4a09218
commit 2ae8f5b03f
17 changed files with 247 additions and 69 deletions

View File

@@ -1,20 +1,21 @@
load(common_pre)
QT += core dbus gui network xml
QT += core dbus gui network xml widgets
TARGET = simulatorfs9
TEMPLATE = lib
CONFIG += plugin shared
CONFIG += blackmisc blackcore
CONFIG += blackmisc blackcore blackgui
DEPENDPATH += . $$SourceRoot/src
INCLUDEPATH += . $$SourceRoot/src
LIBS += -lsimulatorfscommon -lfsuipc -luuid
LIBS += -ldxguid -lole32
addStaticLibraryDependency(simulatorplugincommon)
addStaticLibraryDependency(simulatorfscommon)
addStaticLibraryDependency(fsuipc)
LIBS += -lsimulatorfscommon -lfsuipc -luuid -lsimulatorplugincommon
LIBS += -ldxguid -lole32
SOURCES += *.cpp
HEADERS += *.h

View File

@@ -31,7 +31,8 @@ namespace BlackSimPlugin
{
namespace Fs9
{
CFs9Client::CFs9Client(const CCallsign &callsign, const QString &modelName, const CTime &updateInterval,
CFs9Client::CFs9Client(const CCallsign &callsign, const QString &modelName,
const CTime &updateInterval,
CInterpolationLogger *logger, ISimulator *simulator) :
CDirectPlayPeer(simulator, callsign),
m_updateInterval(updateInterval),