summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-14 09:44:18 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-14 09:44:18 -0800
commit23cfd907dea74dd8e4c8bbf93c8c3f598868623e (patch)
tree820717f6b5cb2614129c06b9b43ddff14ddd3efb /dive.h
parentca19578e407424221309f8724b451ffe2c1f9769 (diff)
downloadsubsurface-23cfd907dea74dd8e4c8bbf93c8c3f598868623e.tar.gz
Better handling of manually edited air temperature
We now load and save this in the XML file, we do the right thing when merging dives and show the edited air temperature in the Dive Info notebook when a divecomputer doesn't have an air temperature. Signed-off-by: Dirk Hohndel <dirk@hohndel.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 35becba07..fdeac977a 100644
--- a/dive.h
+++ b/dive.h
@@ -561,6 +561,7 @@ extern void finish_sample(struct divecomputer *dc);
extern void sort_table(struct dive_table *table);
extern void report_dives(gboolean imported, gboolean prefer_imported);
extern struct dive *fixup_dive(struct dive *dive);
+extern void fixup_airtemp(struct dive *dive);
extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, gboolean prefer_downloaded);
extern struct dive *try_to_merge(struct dive *a, struct dive *b, gboolean prefer_downloaded);
extern void renumber_dives(int nr);