diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 08:36:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 08:49:12 +0100 |
commit | cc16fd0121fe79ae1fd9539a606c19827f64bc23 (patch) | |
tree | d141902716ea4b8e563d9e708c3e99671d791f40 /csv | |
parent | 73921613ddddc8d1f8e0caed21ab8dd490a74eb1 (diff) |
use newly-added preprocessor variable
Diffstat (limited to 'csv')
-rw-r--r-- | csv/csv.cpp | 1 | ||||
-rw-r--r-- | csv/csv.h | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp index 2193ed80..26a36b70 100644 --- a/csv/csv.cpp +++ b/csv/csv.cpp @@ -8,7 +8,6 @@ * purpose with or without fee is hereby granted, provided that the above * * copyright notice and this permission notice appear in all copies. * */ -#define INSIDE_CSV #include "csv.h" #include <QTextDecoder> #include <QFile> @@ -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(); |