videodownloader/network/filenukedownload.h

28 lines
597 B
C
Raw Normal View History

2016-08-29 20:47:13 +02:00
#ifndef FILENUKE_DOWNLOAD_H
#define FILENUKE_DOWNLOAD_H
#include "./httpdownloadwithinforequst.h"
namespace Network {
2017-05-01 03:22:50 +02:00
class FileNukeDownload : public HttpDownloadWithInfoRequst {
2016-08-29 20:47:13 +02:00
Q_OBJECT
public:
explicit FileNukeDownload(const QUrl &url, QObject *parent = nullptr);
Download *infoRequestDownload(bool &success, QString &reasonForFail);
QString typeName() const;
protected:
void evalVideoInformation(Download *, QBuffer *videoInfoBuffer);
private:
int m_currentStep;
QByteArray m_postData;
QUrl m_playlistUrl;
};
2019-07-20 20:20:58 +02:00
} // namespace Network
2016-08-29 20:47:13 +02:00
#endif // FILENUKE_H