summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-25 10:05:37 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-25 10:05:37 +0100
commit0ed4356fc28b9cf9474bbbfcdeb9bc49ff83b9ec (patch)
tree84d41603ad6daa8f12159da4692de8b1d31a35fa /dive.h
parentd15641a6facce67b48c5ae5e7bc56d2ed7492e67 (diff)
downloadsubsurface-0ed4356fc28b9cf9474bbbfcdeb9bc49ff83b9ec.tar.gz
Display slowness warning before opening a V2 file
This is somewhat invasive as aborting the XML file read requires us to report things up the recursive parsing chain. What we really need to do here is to ask the user how they want to use the data from reverse geo lookup. But for now we only warn about the fact that this can take a while. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 8247a5f50..91c160e1f 100644
--- a/dive.h
+++ b/dive.h
@@ -49,6 +49,8 @@ extern "C" {
#endif
extern int last_xml_version;
+extern bool abort_read_of_old_file;
+extern bool v2_question_shown;
enum dive_comp_type {OC, CCR, PSCR, FREEDIVE, NUM_DC_TYPE}; // Flags (Open-circuit and Closed-circuit-rebreather) for setting dive computer type
enum cylinderuse {OC_GAS, DILUENT, OXYGEN, NUM_GAS_USE}; // The different uses for cylinders