mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +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));
|
if (!fsxPath.isEmpty()) this->m_setup.value(CSimulatorSetup::SetupSimPath, QVariant(fsxPath));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} // namespace
|
||||||
}
|
} // namespace
|
||||||
|
|||||||
@@ -19,18 +19,17 @@ namespace BlackSim
|
|||||||
{
|
{
|
||||||
namespace Fsx
|
namespace Fsx
|
||||||
{
|
{
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Simulator settings for FSX Flight sims
|
* Simulator settings for FSX Flight simulators
|
||||||
*/
|
*/
|
||||||
class CFsxSimulatorSetup : public BlackSim::CSimulatorSetup
|
class CFsxSimulatorSetup : public BlackSim::CSimulatorSetup
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
//! Setup values
|
||||||
enum
|
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) {}
|
CSimulatorSetup(const BlackMisc::CIndexVariantMap &map) : m_setup(map) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
//! Specific values
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
SetupSimPath
|
SetupSimPath = BlackMisc::CPropertyIndex::GlobalIndexAbuseMode
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Settings
|
//! Settings
|
||||||
|
|||||||
Reference in New Issue
Block a user