summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/downloadfromdcthread.h')
-rw-r--r--core/downloadfromdcthread.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h
index 4284c2cc6..f142a4243 100644
--- a/core/downloadfromdcthread.h
+++ b/core/downloadfromdcthread.h
@@ -31,7 +31,7 @@ public:
int diveId() const;
/* this needs to be a pointer to make the C-API happy */
- device_data_t* internalData();
+ device_data_t *internalData();
QStringList getProductListFromVendor(const QString& vendor);
int getMatchingAddress(const QString &vendor, const QString &product);
@@ -49,6 +49,9 @@ public:
void setForceDownload(bool force);
void setSaveDump(bool dumpMode);
void setSaveLog(bool saveLog);
+#if defined(Q_OS_ANDROID)
+ void setUsbDevice(void *device);
+#endif
private:
device_data_t data;