Newer
Older
/****************************************************************************
*
* (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.
*
****************************************************************************/
#ifndef VIEWWIDGETCONTROLLER_H
#define VIEWWIDGETCONTROLLER_H
#include <QObject>
#include "UASInterface.h"
#include "AutoPilotPlugin.h"
class ViewWidgetController : public QObject
{
Q_OBJECT
public:
ViewWidgetController(void);
Q_INVOKABLE void checkForVehicle(void);
signals:
void pluginConnected(QVariant autopilot);
void pluginDisconnected(void);
private slots:
void _vehicleAvailable(bool available);
AutoPilotPlugin* _autopilot;
UASInterface* _uas;