Ref T730, namespace for BlackCore::Afv

* added namespace
* removed some *.pri files and added files to blackcore.pro
* added copyright etc.
This commit is contained in:
Klaus Basan
2019-09-19 00:56:54 +02:00
committed by Mat Sutcliffe
parent d064da13b5
commit 384aa3ce19
46 changed files with 2985 additions and 2916 deletions

View File

@@ -1,15 +1,31 @@
#ifndef CONSTANTS_H
#define CONSTANTS_H
/* Copyright (C) 2019
* 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. 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.
*/
constexpr double MilesToMeters = 1609.34;
constexpr double MetersToFeet = 3.28084;
constexpr double FeetToMeters = 0.3048;
constexpr double NauticalMilesToMeters = 1852;
constexpr double MetersToNauticalMiles = 0.000539957;
constexpr double RadToDeg = 57.295779513082320876798154814105;
constexpr double DegToRad = 0.01745329251994329576923690768489;
//! \file
constexpr int c_channelCount = 1;
constexpr int c_sampleRate = 48000;
#ifndef BLACKCORE_AFV_CONSTANTS_H
#define BLACKCORE_AFV_CONSTANTS_H
#endif // CONSTANTS_H
namespace BlackCore
{
namespace Afv
{
constexpr double MilesToMeters = 1609.34;
constexpr double MetersToFeet = 3.28084;
constexpr double FeetToMeters = 0.3048;
constexpr double NauticalMilesToMeters = 1852;
constexpr double MetersToNauticalMiles = 0.000539957;
constexpr double RadToDeg = 57.295779513082320876798154814105;
constexpr double DegToRad = 0.01745329251994329576923690768489;
constexpr int c_channelCount = 1;
constexpr int c_sampleRate = 48000;
} // ns
} // ns
#endif // guard