mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Handle XSLT based imports correctly
XSLT conversions create V2 XML files, but we shouldn't abort when we parse those without having the user informed about the potential slowness - all XSLT based imports are slow, anyway. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
959077c66b
commit
6f7e3d04cb
3 changed files with 10 additions and 5 deletions
1
dive.h
1
dive.h
|
|
@ -51,6 +51,7 @@ extern "C" {
|
|||
extern int last_xml_version;
|
||||
extern bool abort_read_of_old_file;
|
||||
extern bool v2_question_shown;
|
||||
extern bool imported_via_xslt;
|
||||
|
||||
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