Windows: Fix unit test build.

This commit is contained in:
Christian Kamm 2015-05-27 14:59:28 +02:00
parent be77e4f57e
commit 2435ba7e7d
2 changed files with 6 additions and 4 deletions

View file

@ -124,10 +124,10 @@ bool openAndSeekFileSharedRead(QFile* file, QString* error, qint64 seek);
QString fileSystemForPath(const QString & path);
#endif
QByteArray calcMd5( const QString& fileName );
QByteArray calcSha1( const QString& fileName );
QByteArray OWNCLOUDSYNC_EXPORT calcMd5( const QString& fileName );
QByteArray OWNCLOUDSYNC_EXPORT calcSha1( const QString& fileName );
#ifdef ZLIB_FOUND
QByteArray calcAdler32( const QString& fileName );
QByteArray OWNCLOUDSYNC_EXPORT calcAdler32( const QString& fileName );
#endif
}}

View file

@ -14,13 +14,15 @@
#pragma once
#include "owncloudlib.h"
#include <QObject>
#include <QByteArray>
#include <QFutureWatcher>
namespace OCC {
class TransmissionChecksumValidator : public QObject
class OWNCLOUDSYNC_EXPORT TransmissionChecksumValidator : public QObject
{
Q_OBJECT
public: