Mercurial > trustbridge
comparison ui/downloader.cpp @ 924:75085f7adc78
Only include sslconnection_curl if curl is used
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 21 Aug 2014 15:24:01 +0200 |
parents | eaed02defe6a |
children | 879a634d0a40 |
comparison
equal
deleted
inserted
replaced
923:68db3a46ae36 | 924:75085f7adc78 |
---|---|
26 #include <polarssl/certs.h> | 26 #include <polarssl/certs.h> |
27 | 27 |
28 #define MAX_SW_SIZE 15728640 | 28 #define MAX_SW_SIZE 15728640 |
29 #define MAX_LIST_SIZE 1048576 | 29 #define MAX_LIST_SIZE 1048576 |
30 | 30 |
31 #ifdef USE_CURL | |
31 #include "sslconnection_curl.h" | 32 #include "sslconnection_curl.h" |
33 #else | |
32 #include "sslconnection_bare.h" | 34 #include "sslconnection_bare.h" |
35 #endif | |
33 | 36 |
34 Downloader::Downloader(QObject* parent, const QString& url, | 37 Downloader::Downloader(QObject* parent, const QString& url, |
35 const QByteArray& certificate, | 38 const QByteArray& certificate, |
36 const QDateTime& newestSW, | 39 const QDateTime& newestSW, |
37 const QDateTime& newestList, | 40 const QDateTime& newestList, |