mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Doxygen
This commit is contained in:
@@ -6,17 +6,17 @@
|
|||||||
|
|
||||||
namespace BlackSim
|
namespace BlackSim
|
||||||
{
|
{
|
||||||
//! \brief Describing a simulator
|
//! Describing a simulator
|
||||||
class CSimulatorInfo : public BlackMisc::CValueObject
|
class CSimulatorInfo : public BlackMisc::CValueObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//! \brief Default constructor
|
//! Default constructor
|
||||||
CSimulatorInfo();
|
CSimulatorInfo();
|
||||||
|
|
||||||
//! \brief Constructor
|
//! Constructor
|
||||||
CSimulatorInfo(const QString &shortname, const QString &fullname);
|
CSimulatorInfo(const QString &shortname, const QString &fullname);
|
||||||
|
|
||||||
//! \brief Unspecified simulator
|
//! Unspecified simulator
|
||||||
bool isUnspecified() const { return this->m_shortname.isEmpty() || this->m_shortname.startsWith("Unspecified", Qt::CaseInsensitive); }
|
bool isUnspecified() const { return this->m_shortname.isEmpty() || this->m_shortname.startsWith("Unspecified", Qt::CaseInsensitive); }
|
||||||
|
|
||||||
//! \copydoc CValueObject::toQVariant
|
//! \copydoc CValueObject::toQVariant
|
||||||
@@ -25,10 +25,10 @@ namespace BlackSim
|
|||||||
return QVariant::fromValue(*this);
|
return QVariant::fromValue(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
//! \brief Equal operator ==
|
//! Equal operator ==
|
||||||
bool operator ==(const CSimulatorInfo &other) const;
|
bool operator ==(const CSimulatorInfo &other) const;
|
||||||
|
|
||||||
//! \brief Unequal operator !=
|
//! Unequal operator !=
|
||||||
bool operator !=(const CSimulatorInfo &other) const;
|
bool operator !=(const CSimulatorInfo &other) const;
|
||||||
|
|
||||||
//! \copydoc CValueObject::getValueHash()
|
//! \copydoc CValueObject::getValueHash()
|
||||||
@@ -43,35 +43,35 @@ namespace BlackSim
|
|||||||
//! Set single settings
|
//! Set single settings
|
||||||
void setSimulatorSetup(const BlackMisc::CIndexVariantMap &setup);
|
void setSimulatorSetup(const BlackMisc::CIndexVariantMap &setup);
|
||||||
|
|
||||||
//! \brief Simulator is FS9 - Microsoft Flight Simulator 2004
|
//! Simulator is FS9 - Microsoft Flight Simulator 2004
|
||||||
static const CSimulatorInfo &FS9()
|
static const CSimulatorInfo &FS9()
|
||||||
{
|
{
|
||||||
static CSimulatorInfo sim("FS9", "Microsoft Flight Simulator 2004");
|
static CSimulatorInfo sim("FS9", "Microsoft Flight Simulator 2004");
|
||||||
return sim;
|
return sim;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! \brief Simulator is FSX Microsoft Flight Simulator X (2006)
|
//! Simulator is FSX Microsoft Flight Simulator X (2006)
|
||||||
static const CSimulatorInfo &FSX()
|
static const CSimulatorInfo &FSX()
|
||||||
{
|
{
|
||||||
static CSimulatorInfo sim("FSX", "Microsoft Flight Simulator X (2006)");
|
static CSimulatorInfo sim("FSX", "Microsoft Flight Simulator X (2006)");
|
||||||
return sim;
|
return sim;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! \brief Simulator is XPlane, unspecified version
|
//! Simulator is XPlane, unspecified version
|
||||||
static const CSimulatorInfo &XP()
|
static const CSimulatorInfo &XP()
|
||||||
{
|
{
|
||||||
static CSimulatorInfo sim("XP", "X-Plane");
|
static CSimulatorInfo sim("XP", "X-Plane");
|
||||||
return sim;
|
return sim;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! \brief Simulator is unspecified
|
//! Simulator is unspecified
|
||||||
static const CSimulatorInfo &UnspecifiedSim()
|
static const CSimulatorInfo &UnspecifiedSim()
|
||||||
{
|
{
|
||||||
static CSimulatorInfo sim("Unspecified", "Unspecified");
|
static CSimulatorInfo sim("Unspecified", "Unspecified");
|
||||||
return sim;
|
return sim;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! \brief Register the metatypes
|
//! Register the metatypes
|
||||||
static void registerMetadata();
|
static void registerMetadata();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace BlackSimPlugin
|
|||||||
{
|
{
|
||||||
namespace Fsx
|
namespace Fsx
|
||||||
{
|
{
|
||||||
//! Class representing a SimConnect object
|
//! Class representing a FSUIPC "interface"
|
||||||
class CFsuipc
|
class CFsuipc
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user