From 00f4fa0d1da7b07efed340e5530dd966b22a1fc7 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 2 Jul 2018 21:13:44 +0200 Subject: Profile context menu entry to split a dive Allow the user to manually split a dive in two. Signed-off-by: Robert C. Helling --- core/dive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index 3ab270261..1ce180238 100644 --- a/core/dive.h +++ b/core/dive.h @@ -761,6 +761,7 @@ extern int dive_getUniqID(struct dive *d); extern unsigned int dc_airtemp(struct divecomputer *dc); extern unsigned int dc_watertemp(struct divecomputer *dc); extern int split_dive(struct dive *); +extern void split_dive_at_time(struct dive *dive, duration_t time); extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded); extern struct dive *try_to_merge(struct dive *a, struct dive *b, bool prefer_downloaded); extern struct event *clone_event(const struct event *src_ev); -- cgit v1.2.3-70-g09d2