]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikutils.h
Fix uniquify tracks to use the appropriate sort order.
[andy/viking.git] / src / vikutils.h
index a2016e620b84b4849fe51140f0ec019856a3fb8c..d7994ebef3e3e7faeaf904f30276eb8b285b22dd 100644 (file)
 #define __VIKING_UTILS_H
 
 #include <glib.h>
-#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