]> git.sur5r.net Git - minitube/blobdiff - src/ytjs/ytjssearch.h
Update upstream source from tag 'upstream/3.8'
[minitube] / src / ytjs / ytjssearch.h
diff --git a/src/ytjs/ytjssearch.h b/src/ytjs/ytjssearch.h
deleted file mode 100644 (file)
index 7c0174a..0000000
+++ /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<QAction *> &getActions();
-    SearchParams *getSearchParams() const { return searchParams; }
-
-private:
-    SearchParams *searchParams;
-    bool aborted = false;
-    QString name;
-
-    QString nextpageRef;
-};
-
-#endif // YTJSSEARCH_H