mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #784 Use CMemoTable to implement a compact JSON schema for CAircraftModelList.
This commit is contained in:
committed by
Klaus Basan
parent
f6f2d38821
commit
45bb9a2737
@@ -216,6 +216,12 @@ namespace BlackMisc
|
||||
//! Validate distributors
|
||||
CStatusMessageList validateDistributors(const BlackMisc::Simulation::CDistributorList &distributors, CAircraftModelList &validModels, CAircraftModelList &invalidModels) const;
|
||||
|
||||
//! To compact JSON format
|
||||
QJsonObject toMemoizedJson() const;
|
||||
|
||||
//! From compact JSON format
|
||||
void convertFromMemoizedJson(const QJsonObject &json);
|
||||
|
||||
//! To database JSON
|
||||
QJsonArray toDatabaseJson() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user