1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
LibrePilot/ground/openpilotgcs/src/plugins/opmap/modeluavoproxy.h

26 lines
602 B
C
Raw Normal View History

#ifndef MODELUAVOPROXY_H
#define MODELUAVOPROXY_H
#include <QObject>
#include "flightdatamodel.h"
#include "pathaction.h"
#include "waypoint.h"
class modelUavoProxy:public QObject
{
Q_OBJECT
public:
explicit modelUavoProxy(QObject *parent, flightDataModel *model);
int addAction(PathAction *actionObj, PathAction::DataFields actionFields,int lastaction);
public slots:
void modelToObjects();
void objectsToModel();
2012-06-20 16:00:15 +02:00
private:
UAVObjectManager *objManager;
Waypoint * waypointObj;
PathAction * pathactionObj;
flightDataModel * myModel;
};
#endif // MODELUAVOPROXY_H