summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.h
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2016-07-06 22:40:35 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-07-09 12:08:25 -0700
commitf08b0e0e3ec088dfc6cc3084283de34a4fc78005 (patch)
treed97bf8c4d55572765d72230e00f09d1f16785a73 /qt-models/diveplannermodel.h
parentae9e147314231e3396252d892a7702886acfb5ae (diff)
downloadsubsurface-f08b0e0e3ec088dfc6cc3084283de34a4fc78005.tar.gz
Planner: automate calculation of best mix for max depth
Add option to calculate the best mix portion of O2 and He for the dive's max depth if the user enters * in the MOD and MND cylinder fields. Gas portions are automatically recalculated if the max depth of the dive changes. Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r--qt-models/diveplannermodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h
index da84119ce..2525e7695 100644
--- a/qt-models/diveplannermodel.h
+++ b/qt-models/diveplannermodel.h
@@ -44,6 +44,7 @@ public:
void rememberTanks();
bool tankInUse(int cylinderid);
void setupCylinders();
+ bool updateMaxDepth();
/**
* @return the row number.
*/