mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
todo adjustments
This commit is contained in:
@@ -379,7 +379,7 @@ namespace BlackMisc
|
|||||||
const auto value = json.value(name);
|
const auto value = json.value(name);
|
||||||
if (value.isUndefined())
|
if (value.isUndefined())
|
||||||
{
|
{
|
||||||
constexpr bool required = false; // \todo add RequiredForJson flag in metaclass system
|
constexpr bool required = false; //! \fixme add RequiredForJson flag in metaclass system
|
||||||
if (required) { throw CJsonException(QStringLiteral("Missing required member '%1'").arg(name.m_latin1)); }
|
if (required) { throw CJsonException(QStringLiteral("Missing required member '%1'").arg(name.m_latin1)); }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ namespace BlackMisc
|
|||||||
const char *const m_name;
|
const char *const m_name;
|
||||||
|
|
||||||
//! Property index of the member.
|
//! Property index of the member.
|
||||||
//! \todo Not used yet.
|
//! \deprecated Reserved for future use.
|
||||||
const int m_index;
|
const int m_index;
|
||||||
|
|
||||||
//! Any flags applying to the member.
|
//! Any flags applying to the member.
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ namespace BlackMisc
|
|||||||
CAircraftSituation oldSituation;
|
CAircraftSituation oldSituation;
|
||||||
CAircraftSituation newSituation;
|
CAircraftSituation newSituation;
|
||||||
status.setInterpolationSucceeded(true);
|
status.setInterpolationSucceeded(true);
|
||||||
status.setChangedPosition(true); //! \todo efficiently determine whether the position has changed
|
status.setChangedPosition(true); //! \fixme efficiently determine whether the position has changed
|
||||||
|
|
||||||
// latest first, now 00:20 split time
|
// latest first, now 00:20 split time
|
||||||
// time pos
|
// time pos
|
||||||
|
|||||||
Reference in New Issue
Block a user