#ifndef _DCLGPS_HXX
#define _DCLGPS_HXX
-#include "render_area_2d.hxx"
+#include <Cockpit/render_area_2d.hxx>
+
#include <string>
#include <list>
#include <vector>
class GPSFlightPlan {
public:
std::vector<GPSWaypoint*> waypoints;
- inline bool IsEmpty() { return(waypoints.size() == 0); }
+ inline bool IsEmpty() { return waypoints.empty(); }
};
// TODO - probably de-public the internals of the next 2 classes and add some methods!
// Configuration that affects flightplan operation
bool _turnAnticipationEnabled;
- // Magvar stuff. Might get some of this stuff (such as time) from FG in future.
- SGTime* _time;
-
std::list<std::string> _messageStack;
virtual void CreateFlightPlan(GPSFlightPlan* fp, std::vector<std::string> ids, std::vector<GPSWpType> wps);