mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
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:
committed by
Mathew Sutcliffe
parent
c106c7f894
commit
e10ab7b9de
22
src/blackmisc/aviation/flightplanutils.cpp
Normal file
22
src/blackmisc/aviation/flightplanutils.cpp
Normal 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
|
||||
34
src/blackmisc/aviation/flightplanutils.h
Normal file
34
src/blackmisc/aviation/flightplanutils.h
Normal 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
|
||||
Reference in New Issue
Block a user