Changeset 8766054 in subsurface


Ignore:
Timestamp:
Dec 30, 2016, 11:56:08 PM (9 months ago)
Author:
Miika Turkia <miika.turkia@…>
Branches:
master
Children:
2ce1b4e
Parents:
25ce819a
Message:

Hooking up av1.xslt for log import

Signed-off-by: Miika Turkia <miika.turkia@…>

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • core/parse-xml.c

    r81d5d82 r8766054  
    37393739          { "manualcsv", "manualcsv2xml.xslt", NULL },
    37403740          { "logbook", "DiveLog.xslt", NULL },
     3741          { "AV1", "av1.xslt", NULL },
    37413742          { NULL, }
    37423743  };
  • desktop-widgets/divelogimportdialog.cpp

    rabc42cc r8766054  
    2424        { "Seabear CSV", 0, 1, 5, -1, -1, -1, -1, -1, 2, 3, 4, 6, -1, ";" },
    2525        { "SubsurfaceCSV", -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, "Tab" },
     26        { "AV1", 0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, " " },
    2627        { NULL, SILENCE_WARNING }
    2728};
     
    3536        SENSUS,
    3637        SEABEAR,
    37         SUBSURFACE
     38        SUBSURFACE,
     39        AV1
    3840};
    3941
     
    349351        specialCSV << SUBSURFACE;
    350352        specialCSV << DL7;
     353        specialCSV << AV1;
    351354
    352355        for (int i = 0; !CSVApps[i].name.isNull(); ++i)
  • desktop-widgets/divelogimportdialog.h

    r30976c0 r8766054  
    119119        };
    120120
    121 #define CSVAPPS 9
     121#define CSVAPPS 10
    122122        static const CSVAppConfig CSVApps[CSVAPPS];
    123123};
  • subsurface.qrc

    r1fa855e r8766054  
    4747        <file>xslt/shearwater.xslt</file>
    4848        <file>xslt/DiveLog.xslt</file>
     49        <file>xslt/av1.xslt</file>
    4950        <file alias="icon_lung">icons/gas.png</file>
    5051        <file alias="icon_mod">icons/mod.png</file>
Note: See TracChangeset for help on using the changeset viewer.