videodownloader/network/finder/youtubeplaylist.h

28 lines
564 B
C
Raw Normal View History

2015-04-22 19:32:04 +02:00
#ifndef YOUTUBEPLAYLIST_H
#define YOUTUBEPLAYLIST_H
2015-09-08 17:05:59 +02:00
#include "./downloadfinder.h"
2015-04-22 19:32:04 +02:00
namespace Network {
class YoutubePlaylist : public DownloadFinder
{
Q_OBJECT
public:
explicit YoutubePlaylist(const QUrl &url, QObject *parent = nullptr);
explicit YoutubePlaylist(const QString &id, QObject *parent = nullptr);
protected:
Download *createRequest(QString &reasonForFail);
protected slots:
ParsingResult parseResults(const QByteArray &data, QString &reasonForFail);
private:
QString m_playlistId;
};
}
#endif // YOUTUBEPLAYLIST_H