refs #321 Methods to read/write aircraft config packets from/to network

This commit is contained in:
Roland Winklmeier
2015-01-19 18:14:33 +01:00
committed by Klaus Basan
parent a3e13db2ae
commit 466a9a24ef
5 changed files with 194 additions and 1 deletions

View File

@@ -184,6 +184,14 @@ namespace BlackMisc
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
//! Creates an incremental json object from two existing objects
QJsonObject getIncrementalObject(const QJsonObject &previousObject, const QJsonObject &currentObject);
//! Merges an incremental json object into an existing one
QJsonObject applyIncrementalObject(const QJsonObject &previousObject, const QJsonObject &incrementalObject);
} // BlackMisc
#endif // guard