]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikutils.h
Import Launchpad translation updates - French Update.
[andy/viking.git] / src / vikutils.h
index e29d16903a8ac874d474b6c608e01a6ed3201f90..661161832df59d2ca1de0197d59382dd39273574 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 );
 
@@ -35,6 +35,19 @@ 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 );
+
+void vu_copy_label_menu ( GtkWidget *widget, guint button );
+
+void vu_zoom_to_show_latlons ( VikCoordMode mode, VikViewport *vvp, struct LatLon maxmin[2] );
+
 G_END_DECLS
 
 #endif