summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_csv
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-19 21:59:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-19 21:59:09 +0200
commit709dac6140502566fac4156b83b998895dc07377 (patch)
tree9fbab707da7baba8e3268960eee2458e2bc6a709 /ftnoir_csv
parentdd87370ff2818ee3c3d67ba104405b85ee44daba (diff)
fix link errors on win32 -only-
Diffstat (limited to 'ftnoir_csv')
-rw-r--r--ftnoir_csv/csv.cpp5
-rw-r--r--ftnoir_csv/csv.h12
2 files changed, 1 insertions, 16 deletions
diff --git a/ftnoir_csv/csv.cpp b/ftnoir_csv/csv.cpp
index b59b5083..71db8ecb 100644
--- a/ftnoir_csv/csv.cpp
+++ b/ftnoir_csv/csv.cpp
@@ -44,11 +44,6 @@ CSV::CSV(QString &string){
m_rx = QRegExp("((?:(?:[^;\\n]*;?)|(?:\"[^\"]*\";?))*)\\n");
}
-CSV::~CSV()
-{
-}
-
-
void CSV::setCodec(const char* codecName){
m_codec = QTextCodec::codecForName(codecName);
}
diff --git a/ftnoir_csv/csv.h b/ftnoir_csv/csv.h
index 79e1351e..e0eac7dd 100644
--- a/ftnoir_csv/csv.h
+++ b/ftnoir_csv/csv.h
@@ -6,19 +6,9 @@
#include <QRegExp>
#include <QtGlobal>
-#if defined(INSIDE_CSV)
-# define CSV_API Q_DECL_EXPORT
-#else
-# define CSV_API Q_DECL_IMPORT
-#endif
-
-class CSV_API CSV
+class CSV
{
- /*Q_OBJECT*/
-
public:
- ~CSV();
-
QString readLine();
QStringList parseLine();
static QStringList parseLine(QString line);