summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Claudiu Olteanu <olteanu.claudiu@ymail.com>2015-09-06 23:59:28 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-07 07:29:15 -0700
commit9e97f124c6b5fe4f50ff188f8470c0a5c5cce6b7 (patch)
tree21b59c516c827a6cbfb2015b9b97e18b52aeff46 /helpers.h
parent384ab944f26351a64452852a5542ced9f620e261 (diff)
downloadsubsurface-9e97f124c6b5fe4f50ff188f8470c0a5c5cce6b7.tar.gz
Save Bluetooth download mode settings
Save the dive computer download mode flag. In this way, if the user used Bluetooth mode to download its dives on his last session he doesn't need to open the Bth selection dialog if he wants to use the same device. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index 47dccb90e..6c5c31c7d 100644
--- a/helpers.h
+++ b/helpers.h
@@ -25,6 +25,7 @@ QString get_pressure_string(pressure_t pressure, bool showunit = false);
QString get_pressure_unit();
void set_default_dive_computer(const char *vendor, const char *product);
void set_default_dive_computer_device(const char *name);
+void set_default_dive_computer_download_mode(int downloadMode);
QString getSubsurfaceDataPath(QString folderToFind);
extern const QString get_dc_nickname(const char *model, uint32_t deviceid);
int gettimezoneoffset(timestamp_t when = 0);