/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * viking -- GPS Data and Topo Analyzer, Explorer, and Manager * * Copyright (C) 2013, Rob Norris * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #ifndef __VIKING_UTILS_H #define __VIKING_UTILS_H #include #include "viktrwlayer.h" G_BEGIN_DECLS 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 ); void vu_copy_label_menu ( GtkWidget *widget, guint button ); G_END_DECLS #endif