videodownloader/network/bitsharedownload.h

28 lines
587 B
C
Raw Normal View History

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