diff options
| author | 2014-12-06 17:33:25 -0500 | |
|---|---|---|
| committer | 2014-12-06 17:33:25 -0500 | |
| commit | 7167ce41b61d2ba2cdb526777a4233eb84a3b66a (patch) | |
| tree | a35c14143716e1f2c98f808c81f89426045a946f /SQLiteStudio3/coreSQLiteStudio/tsvserializer.h | |
Imported Upstream version 2.99.6upstream/2.99.6
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/tsvserializer.h')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/tsvserializer.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/tsvserializer.h b/SQLiteStudio3/coreSQLiteStudio/tsvserializer.h new file mode 100644 index 0000000..efb3934 --- /dev/null +++ b/SQLiteStudio3/coreSQLiteStudio/tsvserializer.h @@ -0,0 +1,20 @@ +#ifndef TSVSERIALIZER_H +#define TSVSERIALIZER_H + +#include "coreSQLiteStudio_global.h" +#include "common/global.h" +#include <QStringList> + +class API_EXPORT TsvSerializer +{ + public: + static QString serialize(const QList<QStringList>& data); + static QString serialize(const QStringList& data); + static QList<QStringList> deserialize(const QString& data); + + private: + static QString rowSeparator; + static QString columnSeparator; +}; + +#endif // TSVSERIALIZER_H |
