diff options
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r-- | qt-ui/configuredivecomputerdialog.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h index 99f1e9c32..fa43592c2 100644 --- a/qt-ui/configuredivecomputerdialog.h +++ b/qt-ui/configuredivecomputerdialog.h @@ -74,8 +74,6 @@ private slots: void on_updateFirmwareButton_clicked(); void on_DiveComputerList_currentRowChanged(int currentRow); - void findVersion(); - private: Ui::ConfigureDiveComputerDialog ui; @@ -102,8 +100,20 @@ private: QString selected_vendor; QString selected_product; - QWebPage hwVersionPage; +}; +class OstcFirmwareCheck : QObject +{ + Q_OBJECT +public: + explicit OstcFirmwareCheck(); + void checkLatest(uint32_t firmwareOnDevice); +public +slots: + void parseOstcFwVersion(); +private: + QWebPage hwVersionPage; + QString latestFirmwareAvailable; }; #endif // CONFIGUREDIVECOMPUTERDIALOG_H |