]> git.sur5r.net Git - minitube/blob - src/invidious/ivchannelsource.h
New upstream version 3.6.1
[minitube] / src / invidious / ivchannelsource.h
1 #ifndef IVCHANNELSOURCE_H
2 #define IVCHANNELSOURCE_H
3
4 #include "ivvideosource.h"
5 #include <QtNetwork>
6
7 class SearchParams;
8
9 class IVChannelSource : public IVVideoSource {
10     Q_OBJECT
11
12 public:
13     IVChannelSource(SearchParams *searchParams, QObject *parent = nullptr);
14
15     void reallyLoadVideos(int max, int startIndex);
16     QString getName();
17     const QList<QAction *> &getActions();
18     int maxResults();
19
20     SearchParams *getSearchParams() const { return searchParams; }
21
22 private:
23     SearchParams *searchParams;
24     QString name;
25 };
26
27 #endif // IVCHANNELSOURCE_H