#ifndef GEOCUTE_VELOCITY_H #define GEOCUTE_VELOCITY_H #include namespace GeoCute { enum VelocityFieldFlag { VelocityFieldsNone = 0, VelocityFieldsSpeed = 1 << 0, VelocityFieldsDirection = 1 << 1, VelocityFieldsClimb = 1 << 2 }; Q_DECLARE_FLAGS(VelocityFields, VelocityFieldFlag) Q_DECLARE_OPERATORS_FOR_FLAGS(VelocityFields) struct Velocity { VelocityFields fields; qreal speed; qreal direction; qreal climb; }; } #endif