PX4RadioComponent.h 1.19 KB
Newer Older
1 2 3 4 5 6 7 8 9
/****************************************************************************
 *
 *   (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.
 *
 ****************************************************************************/

10

Don Gagne's avatar
Don Gagne committed
11 12
#ifndef PX4RadioComponent_H
#define PX4RadioComponent_H
13

14
#include "VehicleComponent.h"
15

16
class PX4RadioComponent : public VehicleComponent
17 18 19 20
{
    Q_OBJECT
    
public:
Don Gagne's avatar
Don Gagne committed
21
    PX4RadioComponent(Vehicle* vehicle, AutoPilotPlugin* autopilot, QObject* parent = NULL);
22
    
23
    // Virtuals from VehicleComponent
Don Gagne's avatar
Don Gagne committed
24
    virtual QStringList setupCompleteChangedTriggerList(void) const;
25 26 27 28
    
    // Virtuals from VehicleComponent
    virtual QString name(void) const;
    virtual QString description(void) const;
29
    virtual QString iconResource(void) const;
30 31
    virtual bool requiresSetup(void) const;
    virtual bool setupComplete(void) const;
32
    virtual QUrl setupSource(void) const;
33
    virtual QUrl summaryQmlSource(void) const;
Don Gagne's avatar
Don Gagne committed
34
    virtual QString prerequisiteSetup(void) const;
35 36
    
private:
37 38
    const QString   _name;
    QVariantList    _summaryItems;
39 40 41
};

#endif