videodownloader/network/bitsharedownload.h

26 lines
580 B
C
Raw Normal View History

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