mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #329, PropertyIndex assert
* remark 1: The setup values tagged GlobalIndexAbuseMode are subject of change * remark 2: Fixed some comments / Doxygen with this here
This commit is contained in:
@@ -29,5 +29,5 @@ namespace BlackSim
|
||||
if (!fsxPath.isEmpty()) this->m_setup.value(CSimulatorSetup::SetupSimPath, QVariant(fsxPath));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@@ -19,18 +19,17 @@ namespace BlackSim
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
|
||||
/*!
|
||||
* \brief Simulator settings for FSX Flight sims
|
||||
* Simulator settings for FSX Flight simulators
|
||||
*/
|
||||
class CFsxSimulatorSetup : public BlackSim::CSimulatorSetup
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
//! Setup values
|
||||
enum
|
||||
{
|
||||
SetupSimConnectCfgFile = 1000, //!< location of simconnect.cfg file
|
||||
SetupSimConnectCfgFile = (BlackMisc::CPropertyIndex::GlobalIndexAbuseMode + 100), //!< location of simconnect.cfg file
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -36,10 +36,10 @@ namespace BlackSim
|
||||
CSimulatorSetup(const BlackMisc::CIndexVariantMap &map) : m_setup(map) {}
|
||||
|
||||
public:
|
||||
|
||||
//! Specific values
|
||||
enum
|
||||
{
|
||||
SetupSimPath
|
||||
SetupSimPath = BlackMisc::CPropertyIndex::GlobalIndexAbuseMode
|
||||
};
|
||||
|
||||
//! Settings
|
||||
|
||||
Reference in New Issue
Block a user