aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/csvformat.h
blob: 5ce00ad56612bea4ba66df3a78844dd55f8a35b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef CSVFORMAT_H
#define CSVFORMAT_H

#include "coreSQLiteStudio_global.h"
#include <QString>

struct API_EXPORT CsvFormat
{
    CsvFormat();
    CsvFormat(const QString& columnSeparator, const QString& rowSeparator);
    CsvFormat(const QString& columnSeparator, const QString& rowSeparator, bool strictRowSeparator, bool strictColumnSeparator);

    QString columnSeparator;
    QString rowSeparator;
    bool strictColumnSeparator = false;
    bool strictRowSeparator = false;

    static const CsvFormat DEFAULT;
};

#endif // CSVFORMAT_H