summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2018-07-02 21:13:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-03 14:47:15 -0700
commit00f4fa0d1da7b07efed340e5530dd966b22a1fc7 (patch)
tree3b221380f8db65ce05c02a0d8473c5a2e4c059d8 /core/dive.h
parent8697f7a84d988155e13079e32a7dd00fe418ee42 (diff)
downloadsubsurface-00f4fa0d1da7b07efed340e5530dd966b22a1fc7.tar.gz
Profile context menu entry to split a dive
Allow the user to manually split a dive in two. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h1
1 files changed, 1 insertions, 0 deletions
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);