mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #603, cmd args for network vatlib
bundled all defines which should be set on the build server in defines.pri
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f4cbfc2fa9
commit
a43d414a76
@@ -23,13 +23,14 @@
|
||||
#include <QTextCodec>
|
||||
#include <QByteArray>
|
||||
#include <QMap>
|
||||
#include <QCommandLineOption>
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
//! Implementation of INetwork using the vatlib shim
|
||||
class BLACKCORE_EXPORT CNetworkVatlib :
|
||||
public INetwork,
|
||||
public BlackMisc::Simulation::COwnAircraftAware // network vatlib consumes own aircraft data and sets ICAO/callsign data
|
||||
public INetwork,
|
||||
public BlackMisc::Simulation::COwnAircraftAware // network vatlib consumes own aircraft data and sets ICAO/callsign data
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -91,6 +92,12 @@ namespace BlackCore
|
||||
virtual void sendMetarQuery(const BlackMisc::Aviation::CAirportIcaoCode &airportIcao) override;
|
||||
//! @}
|
||||
|
||||
//! Cmd.line options this library can handle
|
||||
static const QList<QCommandLineOption> &getCmdLineOptions();
|
||||
|
||||
//! Key if any from cmd.line arguments
|
||||
QString getCmdLineFsdKey() const;
|
||||
|
||||
private slots:
|
||||
void replyToFrequencyQuery(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
void replyToNameQuery(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
@@ -189,6 +196,6 @@ namespace BlackCore
|
||||
CTokenBucket m_tokenBucket;
|
||||
};
|
||||
|
||||
} //namespace BlackCore
|
||||
} //namespace
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user