summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-24 13:58:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-25 07:19:18 -0700
commit0be8512ab07625064f9c7a6243acfe765b28abcf (patch)
treeb6aa4d622e8dc7ff5191d114c558712a95e0f84f /dive.h
parent0785a7f0cac3d1cf5b84e7f62407466c6798df34 (diff)
downloadsubsurface-0be8512ab07625064f9c7a6243acfe765b28abcf.tar.gz
Add small helper to determine if dive computer has HR data
Currently unused, but requested for a future feature. 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 be81ca44b..8713d8c67 100644
--- a/dive.h
+++ b/dive.h
@@ -743,6 +743,8 @@ extern void record_dive(struct dive *dive);
extern struct sample *prepare_sample(struct divecomputer *dc);
extern void finish_sample(struct divecomputer *dc);
+extern bool has_hr_data(struct divecomputer *dc);
+
extern void sort_table(struct dive_table *table);
extern struct dive *fixup_dive(struct dive *dive);
extern int getUniqID(struct dive *d);