summaryrefslogtreecommitdiffhomepage
path: root/csv/csv.h
diff options
context:
space:
mode:
Diffstat (limited to 'csv/csv.h')
-rw-r--r--csv/csv.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/csv/csv.h b/csv/csv.h
index 940c02a6..06fe8d09 100644
--- a/csv/csv.h
+++ b/csv/csv.h
@@ -7,20 +7,16 @@
#include <QRegExp>
#include <QtGlobal>
-#ifdef BUILD_csv
-# define CSV_EXPORT Q_DECL_EXPORT
-#else
-# define CSV_EXPORT Q_DECL_IMPORT
-#endif
+#include "export.hpp"
-class CSV_EXPORT CSV
+class OPENTRACK_CSV_EXPORT CSV
{
public:
QString readLine();
bool parseLine(QStringList& ret);
void setCodec(const char* codecName);
- static bool getGameData(const int gameID, unsigned char* table, QString& gamename);
+ static bool getGameData(int gameID, unsigned char* table, QString& gamename);
private:
CSV(QIODevice* device);