/**************************************************************************** * * (c) 2009-2020 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. * ****************************************************************************/#ifndef APMSubMotorComponentController_H#define APMSubMotorComponentController_H#include <QObject>#include "FactPanelController.h"#include "Vehicle.h"/// MVC Controller for APMSubMotorComponent.qml.classAPMSubMotorComponentController:publicFactPanelController{Q_OBJECTpublic:APMSubMotorComponentController(void);Q_PROPERTY(QStringmotorDetectionMessagesREADmotorDetectionMessagesNOTIFYmotorDetectionMessagesChanged);QStringmotorDetectionMessages()const{return_motorDetectionMessages;};signals:voidmotorDetectionMessagesChanged();privateslots:voidhandleNewMessages(intuasid,intcomponentid,intseverity,QStringtext);private:QString_motorDetectionMessages;};#endif