summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-11-15 22:12:21 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-03 13:26:55 -0800
commitb39e77071e79b31996151434970e1baa5249c0a4 (patch)
treead14301d93edcb4598f4a6ef3fd707aa7c88f58e /core/downloadfromdcthread.h
parent31f0741ecc0013cd361683e7fad9bf2c8c166a13 (diff)
downloadsubsurface-b39e77071e79b31996151434970e1baa5249c0a4.tar.gz
downloader: small improvements
Provide supported dive computer list on the command line and actually call the cli download. Still not functional. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/downloadfromdcthread.h')
-rw-r--r--core/downloadfromdcthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h
index 8f11fb7cc..448271211 100644
--- a/core/downloadfromdcthread.h
+++ b/core/downloadfromdcthread.h
@@ -98,7 +98,9 @@ struct mydescriptor {
* stay like this for now.
*/
void fill_computer_list();
+extern "C" {
void show_computer_list();
+}
extern QStringList vendorList;
extern QHash<QString, QStringList> productList;
extern QMap<QString, dc_descriptor_t *> descriptorLookup;