]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikwaypoint.h
Fix mislabelled distance markers when using Nautical Miles.
[andy/viking.git] / src / vikwaypoint.h
index 5fd8da999c7a655efdf3f7d7e426eb327f94ed0f..d7cac9f495c68bb7406037afc000877d8a9b4a7f 100644 (file)
@@ -42,6 +42,7 @@ struct _VikWaypoint {
   gchar *name;
   gchar *comment;
   gchar *description;
   gchar *name;
   gchar *comment;
   gchar *description;
+  gchar *url;
   gchar *image;
   /* a rather misleading, ugly hack needed for trwlayer's click image.
    * these are the height at which the thumbnail is being drawn, not the 
   gchar *image;
   /* a rather misleading, ugly hack needed for trwlayer's click image.
    * these are the height at which the thumbnail is being drawn, not the 
@@ -57,11 +58,13 @@ VikWaypoint *vik_waypoint_new();
 void vik_waypoint_set_name(VikWaypoint *wp, const gchar *name);
 void vik_waypoint_set_comment(VikWaypoint *wp, const gchar *comment);
 void vik_waypoint_set_description(VikWaypoint *wp, const gchar *description);
 void vik_waypoint_set_name(VikWaypoint *wp, const gchar *name);
 void vik_waypoint_set_comment(VikWaypoint *wp, const gchar *comment);
 void vik_waypoint_set_description(VikWaypoint *wp, const gchar *description);
+void vik_waypoint_set_url(VikWaypoint *wp, const gchar *url);
 void vik_waypoint_set_image(VikWaypoint *wp, const gchar *image);
 void vik_waypoint_set_symbol(VikWaypoint *wp, const gchar *symname);
 void vik_waypoint_free(VikWaypoint * wp);
 VikWaypoint *vik_waypoint_copy(const VikWaypoint *wp);
 void vik_waypoint_set_comment_no_copy(VikWaypoint *wp, gchar *comment);
 void vik_waypoint_set_image(VikWaypoint *wp, const gchar *image);
 void vik_waypoint_set_symbol(VikWaypoint *wp, const gchar *symname);
 void vik_waypoint_free(VikWaypoint * wp);
 VikWaypoint *vik_waypoint_copy(const VikWaypoint *wp);
 void vik_waypoint_set_comment_no_copy(VikWaypoint *wp, gchar *comment);
+gboolean vik_waypoint_apply_dem_data ( VikWaypoint *wp, gboolean skip_existing );
 void vik_waypoint_marshall ( VikWaypoint *wp, guint8 **data, guint *len);
 VikWaypoint *vik_waypoint_unmarshall (guint8 *data, guint datalen);
 
 void vik_waypoint_marshall ( VikWaypoint *wp, guint8 **data, guint *len);
 VikWaypoint *vik_waypoint_unmarshall (guint8 *data, guint datalen);