mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T117, utility functions
* detect equal models (equal in sense of "equal for publishing", not ==) * severity functions for message list
This commit is contained in:
committed by
Mathew Sutcliffe
parent
202c37beca
commit
9903d518b0
@@ -368,6 +368,9 @@ namespace BlackMisc
|
||||
//! Validate
|
||||
BlackMisc::CStatusMessageList validate(bool withNestedObjects) const;
|
||||
|
||||
//! Considered equal for publishing, compares if livery etc. are the same DB values
|
||||
bool isEqualForPublishing(const CAircraftModel &dbModel, BlackMisc::CStatusMessageList *details = nullptr) const;
|
||||
|
||||
//! Helper class used by implementation.
|
||||
using MemoHelper = CMemoHelper<Aviation::CAircraftIcaoCode, Aviation::CLivery, CDistributor>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user