summaryrefslogtreecommitdiffhomepage
path: root/csv/csv.h
diff options
context:
space:
mode:
Diffstat (limited to 'csv/csv.h')
-rw-r--r--csv/csv.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/csv/csv.h b/csv/csv.h
index a896a076..7ae1ad5c 100644
--- a/csv/csv.h
+++ b/csv/csv.h
@@ -1,4 +1,5 @@
#pragma once
+#include <QtGlobal>
#include <QObject>
#include <QStringList>
#include <QIODevice>
@@ -6,7 +7,13 @@
#include <QRegExp>
#include <QtGlobal>
-class CSV
+#ifdef BUILD_opentrack_csv
+# define CSV_EXPORT Q_DECL_EXPORT
+#else
+# define CSV_EXPORT Q_DECL_IMPORT
+#endif
+
+class CSV_EXPORT CSV
{
public:
QString readLine();