summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Pierre-Yves Chibon <pingou@pingoured.fr>2013-01-13 17:44:44 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-13 10:08:07 -0800
commit8ff350387d2e98bb7485e41f6358ccc13e97bab2 (patch)
treed46609379cfd98f500545679aedcffe29800f16a /dive.h
parent6a10700ca59e546c7a05688bdf5bffa388286bff (diff)
downloadsubsurface-8ff350387d2e98bb7485e41f6358ccc13e97bab2.tar.gz
Work on a dive localisation tool using GPS coordinates
For each dive recorded, place their GPS coordinates onto a map using the OSM-GPS-MAP library. This map is accessible via the "log" menu or the shortcut ctrl+M (M as map). We check for the GPS coordinates "0, 0" which are the default when we do not have real GPS coordinates set. [Dirk Hohndel: fixed int/float math confusion, fixed some whitespace and coding style issues, cleaned up some comments, added a missing cast to prevent a compiler warning] Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr> Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index b80e6bf53..19a1768cb 100644
--- a/dive.h
+++ b/dive.h
@@ -490,6 +490,8 @@ extern void clear_equipment_widgets(void);
extern void show_dive_stats(struct dive *);
extern void clear_stats_widgets(void);
+extern void show_gps_locations(void);
+
extern void show_yearly_stats(void);
extern void update_dive(struct dive *new_dive);