diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-25 10:05:37 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-25 10:05:37 +0100 |
commit | 0ed4356fc28b9cf9474bbbfcdeb9bc49ff83b9ec (patch) | |
tree | 84d41603ad6daa8f12159da4692de8b1d31a35fa /dive.h | |
parent | d15641a6facce67b48c5ae5e7bc56d2ed7492e67 (diff) | |
download | subsurface-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |