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:
Klaus Basan
2014-09-18 01:43:57 +02:00
parent 59e409b0fb
commit ee2bddd92b
3 changed files with 7 additions and 8 deletions

View File

@@ -29,5 +29,5 @@ namespace BlackSim
if (!fsxPath.isEmpty()) this->m_setup.value(CSimulatorSetup::SetupSimPath, QVariant(fsxPath));
}
}
}
}
} // namespace
} // namespace

View File

@@ -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
};

View 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