Initial stab at Seabear CSV imports

This adds a preconfigured import setting for Seabear CSV files.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-07-09 21:07:45 +02:00 committed by Dirk Hohndel
parent 76a8e83a54
commit b1d7ba9f63
2 changed files with 3 additions and 1 deletions

View file

@ -6,10 +6,12 @@
#include "ui_divelogimportdialog.h"
const DiveLogImportDialog::CSVAppConfig DiveLogImportDialog::CSVApps[CSVAPPS] = {
// time, depth, temperature, po2, cns, stopdepth
{ "", },
{ "APD Log Viewer", 1, 2, 16, 7, 18, 19, "Tab" },
{ "XP5", 1, 2, 10, -1, -1, -1, "Tab" },
{ "SensusCSV", 10, 11, -1, -1, -1, -1, "," },
{ "Seabear CSV", 1, 2, 6, -1, -1, 5, ";" },
{ NULL, }
};

View file

@ -40,7 +40,7 @@ private:
QString separator;
};
#define CSVAPPS 5
#define CSVAPPS 6
static const CSVAppConfig CSVApps[CSVAPPS];
};