mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Add new command line argument 'serverType'
ServerType allows to override the ServerType at runtime refs #872
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c260af7b11
commit
1401b2f956
@@ -121,8 +121,9 @@ namespace BlackCore
|
||||
//! Cmd. line options this library can handle
|
||||
static const QList<QCommandLineOption> &getCmdLineOptions();
|
||||
|
||||
//! Client id and key if any from command line arguments
|
||||
private:
|
||||
bool getCmdLineClientIdAndKey(int &id, QString &key) const;
|
||||
bool getCmdLineServerType(VatServerType &serverType) const;
|
||||
|
||||
private slots:
|
||||
void replyToFrequencyQuery(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
Reference in New Issue
Block a user