blob: b20c6a82b8bfffc359c16c8268082893b94ea2ce (
plain) (
tree)
|
|
#ifndef FILEDOWNLOADER_H_
#define FILEDOWNLOADER_H_
#include <QObject>
#include <QByteArray>
#include <QNetworkReply>
class FileDownloader
{
public:
static bool download(const QUrl& fileUrl, const std::function <void (QNetworkReply::NetworkError, const QByteArray&)>& f);
};
#endif /* FILEDOWNLOADER_H_ */
|