#ifndef QGCMAVLINKUASFACTORY_H#define QGCMAVLINKUASFACTORY_H#include <QObject>#include "QGCMAVLink.h"#include "MAVLinkProtocol.h"#include "UASInterface.h"#include "LinkInterface.h"// INCLUDE ALL MAV/UAS CLASSES USING MAVLINK#include "UAS.h"#include "SlugsMAV.h"#include "PxQuadMAV.h"#include "ArduPilotMegaMAV.h"classQGCMAVLinkUASFactory:publicQObject{Q_OBJECTpublic:explicitQGCMAVLinkUASFactory(QObject*parent=0);/** @brief Create a new UAS object using MAVLink as protocol */staticUASInterface*createUAS(MAVLinkProtocol*mavlink,LinkInterface*link,intsysid,mavlink_heartbeat_t*heartbeat,QObject*parent=NULL);signals:publicslots:};#endif // QGCMAVLINKUASFACTORY_H