summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-01 18:18:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-01 18:18:57 -0700
commit89f35321452925182594304961193a8091368ff7 (patch)
treeb6fe6555762adfe07427748a39709a56c33f981e /qt-ui/diveplanner.h
parentcfb93cb92c7b5228c4a1ccd6cffcb8bd92db17fb (diff)
downloadsubsurface-89f35321452925182594304961193a8091368ff7.tar.gz
More conversions to gasmix
addStop, addGas and createSimpleDive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index acfc83b90..eb6bf217e 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -64,7 +64,7 @@ public:
public
slots:
- int addStop(int millimeters = 0, int seconds = 0, int o2 = 0, int he = 0, int ccpoint = 0, bool entered = true);
+ int addStop(int millimeters, int seconds, struct gasmix gas, int ccpoint, bool entered, bool usePrevious = false);
void addCylinder_clicked();
void setGFHigh(const int gfhigh);
void setGFLow(const int ghflow);
@@ -88,7 +88,7 @@ signals:
private:
explicit DivePlannerPointsModel(QObject *parent = 0);
- bool addGas(int o2, int he);
+ bool addGas(struct gasmix mix);
struct diveplan diveplan;
Mode mode;
bool recalc;