mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #207, added simulator setup to CSimulatorInfo
* setup will provide some metadata about the flight simulator, such as path, version etc. * there will be a sim independent setup class, providing common information such as path, is simulator installed, etc. * a sim dependent class on top will provide the values specific to one sim * setup will contain the logic to fetch its values: setup->init
This commit is contained in:
14
src/blacksim/fsx/fsxsimulatorsetup.cpp
Normal file
14
src/blacksim/fsx/fsxsimulatorsetup.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "fsxsimulatorsetup.h"
|
||||
#include "../fsx/simconnectutilities.h"
|
||||
|
||||
namespace BlackSim
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
void CFsxSimulatorSetup::init()
|
||||
{
|
||||
CSimulatorSetup::init();
|
||||
this->m_setup.addValue(SetupSimConnectCfgFile, CSimConnectUtilities::getLocalSimConnectCfgFilename());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user