#ifndef WIMACONTROLLER_H
#define WIMACONTROLLER_H

#include <QObject>
#include "QGCMapPolygon.h"
#include "QmlObjectListModel.h"
#include "WimaFlyArea.h"

class WimaController : public QObject
{
    Q_OBJECT
public:
    explicit WimaController(QObject *parent = nullptr);

    Q_PROPERTY(WimaFlyArea *flyArea READ flyArea CONSTANT)
    //Q_PROPERTY(QmlObjectListModel*  visualItems             READ visualItems                NOTIFY visualItemsChanged)



    //Property Accessors
    WimaFlyArea *flyArea                           (void)  { return _flyArea; }
    //QmlObjectListModel* visualItems                 (void) { return _visualItems; }

    Q_INVOKABLE void start(void);

signals:


public slots:

private:
    //QmlObjectListModel* _visualItems;
    WimaFlyArea * _flyArea;
};

#endif // WIMACONTROLLER_H
