#ifndef AIRMAP_QT_TYPES_H_ #define AIRMAP_QT_TYPES_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include Q_DECLARE_METATYPE(airmap::Aircraft) Q_DECLARE_METATYPE(airmap::Airspace) Q_DECLARE_METATYPE(airmap::Credentials) Q_DECLARE_METATYPE(airmap::DateTime) Q_DECLARE_METATYPE(airmap::Error) Q_DECLARE_METATYPE(airmap::FlightPlan) Q_DECLARE_METATYPE(airmap::Flight) Q_DECLARE_METATYPE(airmap::Geometry) Q_DECLARE_METATYPE(airmap::Pilot) Q_DECLARE_METATYPE(airmap::Rule) Q_DECLARE_METATYPE(airmap::RuleSet) Q_DECLARE_METATYPE(airmap::RuleSet::Rule) Q_DECLARE_METATYPE(airmap::Status::Advisory) Q_DECLARE_METATYPE(airmap::Status::Wind) Q_DECLARE_METATYPE(airmap::Status::Weather) Q_DECLARE_METATYPE(airmap::Status::Report) Q_DECLARE_METATYPE(airmap::Telemetry::Position) Q_DECLARE_METATYPE(airmap::Telemetry::Speed) Q_DECLARE_METATYPE(airmap::Telemetry::Attitude) Q_DECLARE_METATYPE(airmap::Telemetry::Barometer) Q_DECLARE_METATYPE(airmap::Optional) Q_DECLARE_METATYPE(airmap::Token::Type) Q_DECLARE_METATYPE(airmap::Token::Anonymous) Q_DECLARE_METATYPE(airmap::Token::OAuth) Q_DECLARE_METATYPE(airmap::Token::Refreshed) Q_DECLARE_METATYPE(airmap::Token) Q_DECLARE_METATYPE(airmap::Traffic::Update::Type) Q_DECLARE_METATYPE(airmap::Traffic::Update) Q_DECLARE_METATYPE(airmap::Version) namespace airmap { namespace qt { /// register_types makes airmap::* types known to the Qt type system. /// /// This function has to be called at least once to be able to use airmap::* /// types in queued signal-slot connections. void register_types(); } // namespace qt } // namespace airmap #endif // AIRMAP_QT_TYPES_H_