QGCHilXPlaneConfiguration.h 658 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef QGCHILXPLANECONFIGURATION_H
#define QGCHILXPLANECONFIGURATION_H

#include <QWidget>

#include "QGCHilLink.h"

namespace Ui {
class QGCHilXPlaneConfiguration;
}

class QGCHilXPlaneConfiguration : public QWidget
{
    Q_OBJECT
    
public:
    explicit QGCHilXPlaneConfiguration(QGCHilLink* link, QWidget *parent = 0);
    ~QGCHilXPlaneConfiguration();

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

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

#endif // QGCHILXPLANECONFIGURATION_H