QGCHilXPlaneConfiguration.h 697 Bytes
Newer Older
1 2 3 4 5 6 7
#ifndef QGCHILXPLANECONFIGURATION_H
#define QGCHILXPLANECONFIGURATION_H

#include <QWidget>

#include "QGCHilLink.h"

8
class QGCHilConfiguration;
9 10 11 12 13 14 15 16 17
namespace Ui {
class QGCHilXPlaneConfiguration;
}

class QGCHilXPlaneConfiguration : public QWidget
{
    Q_OBJECT
    
public:
18
    explicit QGCHilXPlaneConfiguration(QGCHilLink* link, QGCHilConfiguration *parent = 0);
19 20 21 22 23
    ~QGCHilXPlaneConfiguration();

public slots:
    /** @brief Start / stop simulation */
    void toggleSimulation(bool connect);
24 25
    /** @brief Set X-Plane version */
    void setVersion(int version);
26 27 28 29 30 31 32 33 34

protected:
    QGCHilLink* link;
    
private:
    Ui::QGCHilXPlaneConfiguration *ui;
};

#endif // QGCHILXPLANECONFIGURATION_H