Ref T26, preparing to use flight plan data

* stub utility class (no function yet)
* use value objects in matcher signature instead of strings)
* removed initNewAircraft, use reverseLookupModelWithFlightplanData
This commit is contained in:
Klaus Basan
2017-06-26 01:39:33 +02:00
committed by Mathew Sutcliffe
parent c106c7f894
commit e10ab7b9de
6 changed files with 85 additions and 26 deletions

View File

@@ -0,0 +1,22 @@
/* Copyright (C) 2017
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "flightplanutils.h"
#include <QStringBuilder>
namespace BlackMisc
{
namespace Aviation
{
void CFlightPlanUtils::parseFlightPlanRemarks(const QString &remarks)
{
if (remarks.isEmpty()) { return; }
}
} // namespace
} // namespace

View File

@@ -0,0 +1,34 @@
/* Copyright (C) 2017
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKMISC_AVIATION_FLIGHTPLANUTILS_H
#define BLACKMISC_AVIATION_FLIGHTPLANUTILS_H
#include "blackmisc/blackmiscexport.h"
namespace BlackMisc
{
namespace Aviation
{
//! Flight plan utils
class BLACKMISC_EXPORT CFlightPlanUtils
{
public:
//! Constructor
CFlightPlanUtils() = delete;
//! Parse remarks from a flight plan
static void parseFlightPlanRemarks(const QString &remarks);
};
} // namespace
} // namespace
#endif // guard