summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-20 21:55:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-20 21:55:56 -0700
commit246fbd0333c53f55b7ff7e8165b4435163a8f350 (patch)
tree52a03908c9bf270d41826a0189bade9db80ca265 /qt-ui/downloadfromdivecomputer.h
parentf4acbb02e489672b6ee56e5bcf37b651039abb77 (diff)
downloadsubsurface-246fbd0333c53f55b7ff7e8165b4435163a8f350.tar.gz
Implement rudimentary divecomputer download
Small changes to the names of elements the divecomputer download UI and very simplistic first stab at populating the device_data_t structure. This is lacking lots of things - it should remember the last vendor / product used - it should figure out which device (mount point) to offer - it needs proper error handling But it's a step in the right direction. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index eefcc4d29..eccea8ac7 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -4,6 +4,8 @@
#include <QDialog>
#include <QThread>
#include <QHash>
+#include <QMap>
+#include "../libdivecomputer.h"
namespace Ui{
class DownloadFromDiveComputer;
@@ -49,10 +51,12 @@ private:
QStringList vendorList;
QHash<QString, QStringList> productList;
+ QMap<QString, dc_descriptor_t *> descriptorLookup;
+ device_data_t data;
QStringListModel *vendorModel;
QStringListModel *productModel;
void fill_computer_list();
};
-#endif \ No newline at end of file
+#endif