mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 10:15:43 +08:00
Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history of received aircraft parts. If needed the history can be retrieved via context methods. refs #835
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a210b029f1
commit
4994bf12b2
@@ -332,6 +332,37 @@ namespace BlackCore
|
||||
logEmptyContextWarning(Q_FUNC_INFO);
|
||||
Q_UNUSED(enabled);
|
||||
}
|
||||
|
||||
//! \copydoc IContextNetwork::getAircraftPartsHistory
|
||||
virtual BlackMisc::CStatusMessageList getAircraftPartsHistory(const BlackMisc::Aviation::CCallsign &callsign) const override
|
||||
{
|
||||
logEmptyContextWarning(Q_FUNC_INFO);
|
||||
Q_UNUSED(callsign);
|
||||
return BlackMisc::CStatusMessageList();
|
||||
}
|
||||
|
||||
//! \copydoc IContextNetwork::getRemoteAircraftParts
|
||||
virtual BlackMisc::Aviation::CAircraftPartsList getRemoteAircraftParts(const BlackMisc::Aviation::CCallsign &callsign, qint64 cutoffTimeValuesBefore) const override
|
||||
{
|
||||
logEmptyContextWarning(Q_FUNC_INFO);
|
||||
Q_UNUSED(callsign);
|
||||
Q_UNUSED(cutoffTimeValuesBefore);
|
||||
return BlackMisc::Aviation::CAircraftPartsList();
|
||||
}
|
||||
|
||||
//! \copydoc IContextNetwork::isAircraftPartsHistoryEnabled
|
||||
virtual bool isAircraftPartsHistoryEnabled() const override
|
||||
{
|
||||
logEmptyContextWarning(Q_FUNC_INFO);
|
||||
return false;
|
||||
}
|
||||
|
||||
//! \copydoc IContextNetwork::enableAircraftPartsHistory
|
||||
virtual void enableAircraftPartsHistory(bool enabled) override
|
||||
{
|
||||
logEmptyContextWarning(Q_FUNC_INFO);
|
||||
Q_UNUSED(enabled);
|
||||
}
|
||||
};
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user