X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/1b14d0d2f04fd3a92f89d711f3a0dc30db59f3dc..21012ec0a0a3c535966813134645b87160b18bc3:/src/vikutils.h?ds=inline diff --git a/src/vikutils.h b/src/vikutils.h index e29d1690..d7994ebe 100644 --- a/src/vikutils.h +++ b/src/vikutils.h @@ -23,11 +23,11 @@ #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 ); @@ -35,6 +35,15 @@ 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