mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add helper function to parse gasmix strings
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a01bcd82aa
commit
8cc4463a1a
2 changed files with 43 additions and 0 deletions
|
@ -36,6 +36,8 @@ int parseLengthToMm(const QString &text);
|
|||
int parseTemperatureToMkelvin(const QString &text);
|
||||
int parseWeightToGrams(const QString &text);
|
||||
int parsePressureToMbar(const QString &text);
|
||||
int parseGasMixO2(const QString &text);
|
||||
int parseGasMixHE(const QString &text);
|
||||
QString get_dive_duration_string(timestamp_t when, QString hourText, QString minutesText);
|
||||
QString get_dive_date_string(timestamp_t when);
|
||||
QString get_short_dive_date_string(timestamp_t when);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue