summaryrefslogtreecommitdiffstats
path: root/configuredivecomputer.h
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-06-23 18:16:27 +0300
committerGravatar Thiago Macieira <thiago@macieira.org>2014-08-13 10:48:15 -0700
commitcc6c385f3309417727f61b55550d6d47bef004dd (patch)
tree2b86c64b388ad7005cbf952bc3c93ef9abcbb1d3 /configuredivecomputer.h
parent8aa7fddb22cd6ab4d533082598be04649bb1ff21 (diff)
downloadsubsurface-cc6c385f3309417727f61b55550d6d47bef004dd.tar.gz
Start Work on Firmware Update
This patch implements the first step towards OSTC 3 firmware update. Its not much, just file selection, but I will build up on it from there. Implements a thread to initiate firmware updates. Currently, this is for the OSTC 3. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'configuredivecomputer.h')
-rw-r--r--configuredivecomputer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/configuredivecomputer.h b/configuredivecomputer.h
index 31c0cb756..f64c9c95d 100644
--- a/configuredivecomputer.h
+++ b/configuredivecomputer.h
@@ -34,6 +34,7 @@ public:
void fetchDeviceDetails();
bool saveXMLBackup(QString fileName, DeviceDetails *details, device_data_t *data, QString errorText);
bool restoreXMLBackup(QString fileName, DeviceDetails *details, QString errorText);
+ void startFirmwareUpdate(QString fileName, device_data_t *data, QString errorText);
signals:
void message(QString msg);
void error(QString err);