mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
refs #345 Workaround a limitation of MinGW by moving the largest registerMetadata functions into their own cpp files.
This commit is contained in:
41
src/blackmisc/blackmiscfreefunctions_pqmeta.cpp
Normal file
41
src/blackmisc/blackmiscfreefunctions_pqmeta.cpp
Normal file
@@ -0,0 +1,41 @@
|
||||
/* Copyright (C) 2014
|
||||
* 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 "blackmiscfreefunctions.h"
|
||||
#include "pqallquantities.h"
|
||||
|
||||
/*
|
||||
* Metadata for PQs
|
||||
*
|
||||
* In a separate file to workaround a limitation of MinGW:
|
||||
* http://stackoverflow.com/q/16596876/1639256
|
||||
*/
|
||||
void BlackMisc::PhysicalQuantities::registerMetadata()
|
||||
{
|
||||
CMeasurementUnit::registerMetadata();
|
||||
CAcceleration::registerMetadata();
|
||||
CAccelerationUnit::registerMetadata();
|
||||
CAngle::registerMetadata();
|
||||
CAngleUnit::registerMetadata();
|
||||
CFrequency::registerMetadata();
|
||||
CFrequencyUnit::registerMetadata();
|
||||
CLength::registerMetadata();
|
||||
CLengthUnit::registerMetadata();
|
||||
CMass::registerMetadata();
|
||||
CMassUnit::registerMetadata();
|
||||
CPressure::registerMetadata();
|
||||
CPressureUnit::registerMetadata();
|
||||
CSpeed::registerMetadata();
|
||||
CSpeedUnit::registerMetadata();
|
||||
CTemperature::registerMetadata();
|
||||
CTemperatureUnit::registerMetadata();
|
||||
CTime::registerMetadata();
|
||||
CTimeUnit::registerMetadata();
|
||||
CPqString::registerMetadata();
|
||||
}
|
||||
Reference in New Issue
Block a user