PX4RadioComponent.h 1.14 KB
Newer Older
1 2
/****************************************************************************
 *
Gus Grubba's avatar
Gus Grubba committed
3
 * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4 5 6 7 8 9
 *
 * 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:
21
    PX4RadioComponent(Vehicle* vehicle, AutoPilotPlugin* autopilot, QObject* parent = nullptr);
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;
34 35
    
private:
36 37
    const QString   _name;
    QVariantList    _summaryItems;
38 39 40
};

#endif