]> git.sur5r.net Git - minitube/blob - src/invidious/ivlistparser.h
New upstream version 3.6.1
[minitube] / src / invidious / ivlistparser.h
1 #ifndef IVLISTPARSER_H
2 #define IVLISTPARSER_H
3
4 #include <QtCore>
5
6 class Video;
7
8 class IVListParser {
9 public:
10     IVListParser(const QJsonArray &items);
11     const QVector<Video *> &getVideos() { return videos; }
12
13 private:
14     void parseItem(const QJsonObject &item);
15
16     QVector<Video *> videos;
17 };
18
19 #endif // IVLISTPARSER_H