From 8d41991300579d5ca4eb9c54341c9b5b67b760e7 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 2 Aug 2007 12:19:12 +0300 Subject: [PATCH] misc --- src/gps-nmea-parse.c | 4 ++-- src/track.h | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/gps-nmea-parse.c b/src/gps-nmea-parse.c index 41a27b9..d9a39d2 100644 --- a/src/gps-nmea-parse.c +++ b/src/gps-nmea-parse.c @@ -6,10 +6,10 @@ #include #include #include +#include #include #include #include -#include #include #include #include @@ -30,7 +30,7 @@ #include "settings.h" -track_drop_cnt=0; +gint track_drop_cnt=0; gboolean channel_cb_error(GIOChannel * src, GIOCondition condition, gpointer data) diff --git a/src/track.h b/src/track.h index 4b4ab6f..91a5b80 100644 --- a/src/track.h +++ b/src/track.h @@ -10,6 +10,12 @@ gboolean track_insert_mark(void); gboolean track_save(void); gboolean track_open(void); +void track_show_distance_from_first(); +void track_show_distance_from_last(); +void track_show_distance_from(Point * point); +void path_wresize(Path * path, guint wsize); +void path_resize(Path * path, guint size); + #define TRACK_SQL_SELECT_TRACKS "select id,name,sloc,eloc,sdate,edate from tracks order by sdate" #define TRACK_SQL_INSERT_TRACK "insert into tracks (id,name,sloc,sdate) values (?,?,?,?); #define TRACK_SQL_INSERT_TRACK_POINT "insert into trackpoints (tid,dt,lat,lon,alt,hdop,vdop,pdop,sat,fix) values (?,?,?,?,?,?,?,?,?,?)" -- 2.39.5