summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-03 11:04:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-03 11:37:09 -0700
commit8677721e85a344e29782cfc2ab838edb8da9215b (patch)
tree0b3094c3ce528773a9b4051bd2fcd622acf4fc56 /libdivecomputer.h
parenta6b89b3254adf7c559fe6fb89367cc50c9f41900 (diff)
downloadsubsurface-8677721e85a344e29782cfc2ab838edb8da9215b.tar.gz
Remove the majority of the Gtk related code
- rip all Gtk code from qt-gui.cpp - don't compile Gtk specific files - don't link against Gtk libraries - don't compile modules we don't use at all (yet) - use #if USE_GTK_UI on the remaining files to disable Gtk related parts - disable the non-functional Cochran support while I'm at it Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r--libdivecomputer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h
index 0950d32ae..f5b65f70f 100644
--- a/libdivecomputer.h
+++ b/libdivecomputer.h
@@ -17,10 +17,12 @@ typedef struct device_data_t {
unsigned int deviceid, diveid;
dc_device_t *device;
dc_context_t *context;
- progressbar_t progress;
int preexisting;
gboolean force_download;
+#if USE_GTK_UI
+ progressbar_t progress;
GtkDialog *dialog;
+#endif
} device_data_t;
extern GError *do_import(device_data_t *data);