/**************************************************************************** * * (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 "VehicleComponent.h"classAPMFollowComponent:publicVehicleComponent{Q_OBJECTpublic:APMFollowComponent(Vehicle*vehicle,AutoPilotPlugin*autopilot,QObject*parent=nullptr);// Overrides from VehicleComponentQStringListsetupCompleteChangedTriggerList(void)constoverride{returnQStringList();}// Virtuals from VehicleComponentQStringname(void)constoverride;QStringdescription(void)constoverride;QStringiconResource(void)constoverride;boolrequiresSetup(void)constoverride{returnfalse;}boolsetupComplete(void)constoverride{returntrue;}QUrlsetupSource(void)constoverride;QUrlsummaryQmlSource(void)constoverride;boolallowSetupWhileArmed(void)constoverride{returntrue;}boolallowSetupWhileFlying(void)constoverride{returntrue;}private:constQString_name;QVariantList_summaryItems;};