/**************************************************************************** * * (c) 2009-2016 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#include <QObject>#include <QString>#include "QGeoCoordinate"classPlanMasterController;classMissionController;/// Base class for PlanCreator objects which are used to create a full plan in a single step.classPlanCreator:publicQObject{Q_OBJECTpublic:PlanCreator(PlanMasterController*planMasterController,QStringname,QStringimageResource,QObject*parent=nullptr);Q_PROPERTY(QStringnameMEMBER_nameCONSTANT)Q_PROPERTY(QStringimageResourceMEMBER_imageResourceCONSTANT)Q_INVOKABLEvirtualvoidcreatePlan(constQGeoCoordinate&mapCenterCoord)=0;protected:PlanMasterController*_planMasterController;MissionController*_missionController;QString_name;QString_imageResource;};