summaryrefslogblamecommitdiffstats
path: root/src/filedownloader.h
blob: b20c6a82b8bfffc359c16c8268082893b94ea2ce (plain) (tree)
1
2
3
4
5
6
7
8
9




                         

                        
                    
 
       
 
                                                                                                                              



                              
#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_ */