summaryrefslogtreecommitdiffstats
path: root/configuredivecomputer.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-20 22:58:21 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-20 18:11:37 -0700
commitadf03c7845a2bf0f4e8d2cf5029b8ded0c0c9367 (patch)
treec476cdf428580ac013d144e8b9f660d58d603aa3 /configuredivecomputer.h
parentc11e2fbb6f102435f0ed8bce278e5fc938ce4768 (diff)
downloadsubsurface-adf03c7845a2bf0f4e8d2cf5029b8ded0c0c9367.tar.gz
Finish off the firmware update code.
This code connects the final parts of the generic firmware update code. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'configuredivecomputer.h')
-rw-r--r--configuredivecomputer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/configuredivecomputer.h b/configuredivecomputer.h
index 8123576c1..93c50f993 100644
--- a/configuredivecomputer.h
+++ b/configuredivecomputer.h
@@ -22,6 +22,7 @@ public:
READING,
WRITING,
RESETTING,
+ FWUPDATE,
CANCELLING,
CANCELLED,
ERROR,
@@ -49,11 +50,13 @@ private:
ReadSettingsThread *readThread;
WriteSettingsThread *writeThread;
ResetSettingsThread *resetThread;
+ FirmwareUpdateThread *firmwareThread;
void setState(states newState);
private slots:
void readThreadFinished();
void writeThreadFinished();
void resetThreadFinished();
+ void firmwareThreadFinished();
void setError(QString err);
};