Add weather routes project progress
This commit is contained in:
23
WeatherRoutes/mvc/data/waypoint.h
Normal file
23
WeatherRoutes/mvc/data/waypoint.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef WAYPOINT_H
|
||||
#define WAYPOINT_H
|
||||
|
||||
#include "weatherdata.h"
|
||||
#include <QObject>
|
||||
|
||||
class Waypoint : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Waypoint(QObject *parent = nullptr);
|
||||
Waypoint(const double latitude, const double longitude);
|
||||
Waypoint(const double latitude, const double longitude, WeatherData &data);
|
||||
Waypoint(const double latitude, const double longitude, const double altitude,
|
||||
WeatherData &data);
|
||||
|
||||
private:
|
||||
double m_latitude;
|
||||
double m_longitude;
|
||||
double m_altitude;
|
||||
WeatherData m_data;
|
||||
};
|
||||
|
||||
#endif // WAYPOINT_H
|
||||
Reference in New Issue
Block a user