X-Git-Url: https://git.sur5r.net/?p=minitube;a=blobdiff_plain;f=src%2Fytjs%2Fytjssearch.h;fp=src%2Fytjs%2Fytjssearch.h;h=0000000000000000000000000000000000000000;hp=7c0174a2fdbd2340be559aff55d16347017a6043;hb=b4e0b70c51f05c19b9095a381cb73bfb79f128dd;hpb=b76332aa9817cd134abf7e7e89e62456c1116668 diff --git a/src/ytjs/ytjssearch.h b/src/ytjs/ytjssearch.h deleted file mode 100644 index 7c0174a..0000000 --- a/src/ytjs/ytjssearch.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef YTJSSEARCH_H -#define YTJSSEARCH_H - -#include "videosource.h" - -class SearchParams; -class Video; - -class YTJSSearch : public VideoSource { - Q_OBJECT - -public: - YTJSSearch(SearchParams *searchParams, QObject *parent = 0); - void loadVideos(int max, int startIndex); - void abort() { aborted = true; } - QString getName(); - const QList &getActions(); - SearchParams *getSearchParams() const { return searchParams; } - -private: - SearchParams *searchParams; - bool aborted = false; - QString name; - - QString nextpageRef; -}; - -#endif // YTJSSEARCH_H