aboutsummaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-20 16:41:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-21 08:30:32 -0700
commita8888eaf26c9355f3f2d20c24526489e17d3404a (patch)
treeb45150112874e018d80dba76cac913faec22393d /helpers.h
parentacd35995484ba8b0a4ee416b5dcceb76b843439e (diff)
downloadsubsurface-a8888eaf26c9355f3f2d20c24526489e17d3404a.tar.gz
Allow editing of date & time and air & water temperatures
Add two more rows to the widget - this is getting quite busy. There still is some weirdness where the focus isn't returned where it should be and a few other details, but overall getting there. Added helper functions to parse a temperature and to deal with the timezone offset - with that latter one I also fixed the time offset bug in the planner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index 783efe530..e05363d6d 100644
--- a/helpers.h
+++ b/helpers.h
@@ -25,6 +25,8 @@ void set_default_dive_computer(const char *vendor, const char *product);
void set_default_dive_computer_device(const char *name);
QString getSubsurfaceDataPath(QString folderToFind);
extern const QString get_dc_nickname(const char *model, uint32_t deviceid);
+int gettimezoneoffset();
+int parseTemperatureToMkelvin(const QString& text);
extern DiveComputerList dcList;