videodownloader/network/filenukedownload.h

30 lines
606 B
C
Raw Normal View History

2015-04-22 19:32:04 +02:00
#ifndef FILENUKE_DOWNLOAD_H
#define FILENUKE_DOWNLOAD_H
2015-09-08 17:05:59 +02:00
#include "./httpdownloadwithinforequst.h"
2015-04-22 19:32:04 +02:00
namespace Network {
class FileNukeDownload : public HttpDownloadWithInfoRequst
{
Q_OBJECT
public:
explicit FileNukeDownload(const QUrl &url, QObject *parent = nullptr);
2015-10-14 23:08:57 +02:00
Download *infoRequestDownload(bool &success, QString &reasonForFail);
2015-04-22 19:32:04 +02:00
QString typeName() const;
protected:
void evalVideoInformation(Download *, QBuffer *videoInfoBuffer);
private:
int m_currentStep;
QByteArray m_postData;
QUrl m_playlistUrl;
};
}
#endif // FILENUKE_H