mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 06:35:41 +08:00
refactor: Rename remaining "black" identifiers
This commit is contained in:
@@ -13,7 +13,7 @@ using namespace swift::misc::aviation;
|
||||
using namespace swift::misc::physical_quantities;
|
||||
using namespace swift::misc::math;
|
||||
|
||||
BLACK_DEFINE_VALUEOBJECT_MIXINS(swift::misc::geo, CCoordinateGeodetic)
|
||||
SWIFT_DEFINE_VALUEOBJECT_MIXINS(swift::misc::geo, CCoordinateGeodetic)
|
||||
|
||||
namespace swift::misc::geo
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <QString>
|
||||
#include <array>
|
||||
|
||||
BLACK_DECLARE_VALUEOBJECT_MIXINS(swift::misc::geo, CCoordinateGeodetic)
|
||||
SWIFT_DECLARE_VALUEOBJECT_MIXINS(swift::misc::geo, CCoordinateGeodetic)
|
||||
|
||||
namespace swift::misc
|
||||
{
|
||||
@@ -352,13 +352,12 @@ namespace swift::misc
|
||||
double m_z = 0; //!< normal vector [-1,1]
|
||||
aviation::CAltitude m_geodeticHeight { 0, nullptr }; //!< height, ellipsoidal or geodetic height
|
||||
|
||||
BLACK_METACLASS(
|
||||
SWIFT_METACLASS(
|
||||
CCoordinateGeodetic,
|
||||
BLACK_METAMEMBER(x),
|
||||
BLACK_METAMEMBER(y),
|
||||
BLACK_METAMEMBER(z),
|
||||
BLACK_METAMEMBER(geodeticHeight)
|
||||
);
|
||||
SWIFT_METAMEMBER(x),
|
||||
SWIFT_METAMEMBER(y),
|
||||
SWIFT_METAMEMBER(z),
|
||||
SWIFT_METAMEMBER(geodeticHeight));
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
using namespace swift::misc::math;
|
||||
using namespace swift::misc::physical_quantities;
|
||||
|
||||
BLACK_DEFINE_SEQUENCE_MIXINS(swift::misc::geo, CCoordinateGeodetic, CCoordinateGeodeticList)
|
||||
SWIFT_DEFINE_SEQUENCE_MIXINS(swift::misc::geo, CCoordinateGeodetic, CCoordinateGeodeticList)
|
||||
|
||||
namespace swift::misc::geo
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <QMetaType>
|
||||
|
||||
BLACK_DECLARE_SEQUENCE_MIXINS(swift::misc::geo, CCoordinateGeodetic, CCoordinateGeodeticList)
|
||||
SWIFT_DECLARE_SEQUENCE_MIXINS(swift::misc::geo, CCoordinateGeodetic, CCoordinateGeodeticList)
|
||||
|
||||
namespace swift::misc::geo
|
||||
{
|
||||
|
||||
@@ -138,10 +138,9 @@ namespace swift::misc::geo
|
||||
private:
|
||||
physical_quantities::CLength m_radius { 0, nullptr }; //!< elevation is valid in radius
|
||||
|
||||
BLACK_METACLASS(
|
||||
SWIFT_METACLASS(
|
||||
CElevationPlane,
|
||||
BLACK_METAMEMBER(radius)
|
||||
);
|
||||
SWIFT_METAMEMBER(radius));
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user