mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d15641a6fa
commit
0ed4356fc2
4 changed files with 68 additions and 25 deletions
2
dive.h
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue