summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-15 18:16:07 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-15 18:16:07 -0700
commit5804c2970eaaf0215b9862f767cf7aa745083744 (patch)
tree4965a588e186f18a4eb75080f856ff711def6b8d /dive.h
parent3a6652634b2152352f6f5a2b9ee3d549140ae337 (diff)
downloadsubsurface-5804c2970eaaf0215b9862f767cf7aa745083744.tar.gz
Support gps coordinates for the location info
Sadly, no way to show them yet. But it would be nice to let people enter them (and it would be doubly nice to have a dive computer that does it at the surface), and then perhaps just do the "point browser at google maps" thing. Saving/parsing tested by hand-feeding the location of Enenui (Molokini Crater) from google maps by hand into my divelog. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 8503c3b93..abfd95174 100644
--- a/dive.h
+++ b/dive.h
@@ -133,6 +133,7 @@ struct dive {
char *location;
char *notes;
char *divemaster, *buddy;
+ double latitude, longitude;
depth_t maxdepth, meandepth;
duration_t duration, surfacetime;
depth_t visibility;