summaryrefslogtreecommitdiffstats
path: root/configuredivecomputerthreads.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-18 00:33:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-18 15:22:22 -0700
commit74f27a0a399a1f7c63d5542eec744102c301671f (patch)
treebf56cb41966f9e6de5615fbb516e7c3e2aba2821 /configuredivecomputerthreads.h
parentd63a3ce420fcaa6a4b576a840b9d17984f776b2a (diff)
downloadsubsurface-74f27a0a399a1f7c63d5542eec744102c301671f.tar.gz
Add support to reset OSTC3 settings to default
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'configuredivecomputerthreads.h')
-rw-r--r--configuredivecomputerthreads.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/configuredivecomputerthreads.h b/configuredivecomputerthreads.h
index 66df7a93b..13f54c406 100644
--- a/configuredivecomputerthreads.h
+++ b/configuredivecomputerthreads.h
@@ -55,4 +55,19 @@ private:
QString m_fileName;
};
+class ResetSettingsThread : public QThread
+{
+ Q_OBJECT
+public:
+ ResetSettingsThread(QObject *parent, device_data_t *data);
+ virtual void run();
+ QString lastError;
+signals:
+ void progress(int percent);
+ void message(QString msg);
+ void error(QString err);
+private:
+ device_data_t *m_data;
+};
+
#endif // CONFIGUREDIVECOMPUTERTHREADS_H