Set simulator info when connecting to network

This commit is contained in:
Klaus Basan
2015-03-07 19:59:24 +01:00
parent 8a0c88f71b
commit 3560508154
7 changed files with 52 additions and 14 deletions

View File

@@ -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.