mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Set simulator info when connecting to network
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#ifndef BLACKCORE_NETWORK_H
|
||||
#define BLACKCORE_NETWORK_H
|
||||
|
||||
#include "blacksim/simulatorinfo.h"
|
||||
#include "blackmisc/avaircraft.h"
|
||||
#include "blackmisc/pqfrequency.h"
|
||||
#include "blackmisc/coordinategeodetic.h"
|
||||
@@ -177,6 +178,12 @@ namespace BlackCore
|
||||
*/
|
||||
virtual void presetLoginMode(LoginMode mode) = 0;
|
||||
|
||||
/*!
|
||||
* Set simulator info before connecting.
|
||||
* \pre Network must be disconnected when calling this function.
|
||||
*/
|
||||
virtual void presetSimulatorInfo(const BlackSim::CSimulatorInfo &simInfo) = 0;
|
||||
|
||||
/*!
|
||||
* Initiate a connection to the network server.
|
||||
* \pre Network must be disconnected when calling this function.
|
||||
|
||||
Reference in New Issue
Block a user