35#define KML_INSERT_EXTRADATA true
37enum KmlPastebufferType {
41 KML_PASTE_ROUTE_TRACK,
52typedef std::vector<dPoint> dPointList;
58 KmlPastebufferType ParsePasteBuffer();
59 Route* GetParsedRoute() {
return parsedRoute; }
60 Track* GetParsedTrack() {
return parsedTrack; }
61 RoutePoint* GetParsedRoutePoint() {
return parsedRoutePoint; }
63 static wxString MakeKmlFromRoute(
Route* route,
bool insertSeqNames =
false);
64 static wxString MakeKmlFromTrack(
Track* track);
65 static wxString MakeKmlFromWaypoint(
RoutePoint* routepoint);
66 static void CopyWaypointToClipboard(
RoutePoint* routepoint);
67 static void CopyRouteToClipboard(
Route* route);
68 static void CopyTrackToClipboard(
Track* route);
71 KmlPastebufferType ParseOnePlacemarkPoint(TiXmlNode* node, wxString& name);
72 KmlPastebufferType ParseTrack(TiXmlNode* node, wxString& name);
73 int ParseCoordinates(TiXmlNode* node, dPointList& points);
74 static TiXmlElement* StandardHead(TiXmlDocument& xmlDoc, wxString name);
75 static std::string PointPlacemark(TiXmlElement* document,
82 static bool insertQtVlmExtendedData;
83 static int seqCounter;
90 std::vector<wxRadioButton*> choices;
94 int GetSelectedFormat();