videodownloader/network/vimeodownload.h

26 lines
641 B
C
Raw Normal View History

2015-10-14 22:58:55 +02:00
#ifndef NETWORK_VIMEODOWNLOAD_H
#define NETWORK_VIMEODOWNLOAD_H
2015-10-14 23:08:57 +02:00
#include "./httpdownloadwithinforequst.h"
2015-10-14 22:58:55 +02:00
namespace Network {
2017-05-01 03:22:50 +02:00
class VimeoDownload : public HttpDownloadWithInfoRequst {
2015-10-14 23:08:57 +02:00
Q_OBJECT
2015-10-14 22:58:55 +02:00
public:
2015-10-14 23:08:57 +02:00
explicit VimeoDownload(const QUrl &url, QObject *parent = nullptr);
explicit VimeoDownload(const QString &id, QObject *parent = nullptr);
Download *infoRequestDownload(bool &success, QString &reasonForFail);
QString suitableFilename() const;
QString typeName() const;
2015-10-14 22:58:55 +02:00
2015-10-14 23:08:57 +02:00
protected:
void evalVideoInformation(Download *, QBuffer *videoInfoBuffer);
2015-10-14 22:58:55 +02:00
};
} // namespace Network
#endif // NETWORK_VIMEODOWNLOAD_H