summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-07 08:13:23 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-07 08:13:23 -0800
commit85ed689dc0d6ab07386153151f6ac232adb91a8f (patch)
tree6dc5946cb20487e6e3ffca1cc6b439064480a1ab /dive.h
parentd281ad84fdce7990a09402c212885c7268ad8bd9 (diff)
downloadsubsurface-85ed689dc0d6ab07386153151f6ac232adb91a8f.tar.gz
Support relative times in diveplanner input "on the fly" mode
This had gotten lost when updating the profile on the fly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 697ab8512..43010ffaf 100644
--- a/dive.h
+++ b/dive.h
@@ -597,7 +597,7 @@ struct diveplan {
extern void test_planner(void);
void plan(struct diveplan *diveplan, char **cache_datap, struct dive **divep);
void plan_add_segment(struct diveplan *diveplan, int duration, int depth, int o2, int he);
-void add_duration_to_nth_dp(struct diveplan *diveplan, int idx, int duration);
+void add_duration_to_nth_dp(struct diveplan *diveplan, int idx, int duration, gboolean is_rel);
void add_depth_to_nth_dp(struct diveplan *diveplan, int idx, int depth);
void add_gas_to_nth_dp(struct diveplan *diveplan, int idx, int o2, int he);
void free_dps(struct divedatapoint *dp);