/**************************************************************************** * * (c) 2017 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/#pragma once/** * @file AirspaceAdvisoryProvider.h * Weather information provided by the Airspace Managemement */#include <QObject>#include <QGeoCoordinate>classAirspaceAdvisoryProvider:publicQObject{Q_OBJECTpublic:AirspaceAdvisoryProvider(QObject*parent=nullptr);virtual~AirspaceAdvisoryProvider(){}Q_PROPERTY(boolvalidREADvalidNOTIFYadvisoryChanged)virtualboolvalid()=0;///< Current data is valid/** * Set region of interest that should be queried. When finished, the advisoryChanged() signal will be emmited. * @param center Center coordinate for ROI */virtualvoidsetROI(constQGeoCoordinate¢er,doubleradiusMeters)=0;signals:voidadvisoryChanged();};