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 e88a10b2..9e72b2bb 100644
--- a/csv/csv.h
+++ b/csv/csv.h
@@ -7,15 +7,12 @@
#include <QRegExp>
#include <QtGlobal>
-#include "export.hpp"
-
-class OTR_CSV_EXPORT CSV
+class CSV
{
public:
QString readLine();
bool parseLine(QStringList& ret);
- void setCodec(const char* codecName);
static bool getGameData(int gameID, unsigned char* table, QString& gamename);
private:
CSV(QIODevice* device);
@@ -24,7 +21,6 @@ private:
QString m_string;
int m_pos;
- static const QTextCodec* m_codec;
- static const QRegExp m_rx;
- static const QRegExp m_rx2; // Silly M$ compiler! It will generate an error if both of these variables are declared on the same line! (M$ Visual Studio Community 2015, Update 3)
+ static QTextCodec const* const m_codec;
+ static const QRegExp m_rx, m_rx2;
};