X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/5ab2942c9843beb73c2d3e1a1a3d6cd7bc962687..21012ec0a0a3c535966813134645b87160b18bc3:/src/vikutils.h diff --git a/src/vikutils.h b/src/vikutils.h index a2016e62..d7994ebe 100644 --- a/src/vikutils.h +++ b/src/vikutils.h @@ -23,16 +23,27 @@ #define __VIKING_UTILS_H #include -#include "viking.h" +#include "viktrwlayer.h" G_BEGIN_DECLS -gchar* vu_trackpoint_formatted_message ( gchar *format_code, VikTrackpoint *trkpt, VikTrackpoint *trkpt_prev, VikTrack *trk ); +gchar* vu_trackpoint_formatted_message ( gchar *format_code, VikTrackpoint *trkpt, VikTrackpoint *trkpt_prev, VikTrack *trk, gdouble climb ); void vu_check_latest_version ( GtkWindow *window ); void vu_set_auto_features_on_first_run ( void ); +gchar *vu_get_canonical_filename ( VikLayer *vl, const gchar *filename ); + +gchar* vu_get_time_string ( time_t *time, const gchar *format, const VikCoord *vc, const gchar *gtz ); + +gchar* vu_get_tz_at_location ( const VikCoord* vc ); + +void vu_setup_lat_lon_tz_lookup (); +void vu_finalize_lat_lon_tz_lookup (); + +void vu_command_line ( VikWindow *vw, gdouble latitude, gdouble longitude, gint zoom_osm_level, gint map_id ); + G_END_DECLS #endif