summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelogimportdialog.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-05-05 09:26:12 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-05 07:28:07 -0700
commit30976c05a42909c3ec2c15d4d627ab45602825e5 (patch)
tree8248060b8fa7475d16b5ad397feb1df5a04a6603 /desktop-widgets/divelogimportdialog.h
parent98741c864cf995c92fb0550d8b4d9aa1585f2494 (diff)
downloadsubsurface-30976c05a42909c3ec2c15d4d627ab45602825e5.tar.gz
Parse txt formatted log files
This parses .txt log files produced by Dataplus and Oceanlog software. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/divelogimportdialog.h')
-rw-r--r--desktop-widgets/divelogimportdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/divelogimportdialog.h b/desktop-widgets/divelogimportdialog.h
index 750bc10fa..8c752844d 100644
--- a/desktop-widgets/divelogimportdialog.h
+++ b/desktop-widgets/divelogimportdialog.h
@@ -87,6 +87,7 @@ slots:
void loadFileContentsKnownTypesSelected(int value);
void loadFileContents(int value, enum whatChanged triggeredBy);
int setup_csv_params(QStringList r, char **params, int pnr);
+ int parseTxtHeader(QString fileName, char **params, int pnr);
private:
bool selector;
@@ -97,6 +98,7 @@ private:
ColumnNameResult *resultModel;
QString delta;
QString hw;
+ bool txtLog;
struct CSVAppConfig {
QString name;