summaryrefslogtreecommitdiffstats
path: root/videoqueue.h
blob: 49cc852b923643a16d6fdc3c67263d47df02b056 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef VIDEOQUEUE_H
#define VIDEOQUEUE_H

#include <QObject>
#include <QVector>
class JobQueue;
class Video;
class Job;

class VideoQueue : public QObject
{
	Q_OBJECT
public:
	VideoQueue(QObject *parent = 0);
	void newVideo(Video *video);
private:
	QVector<JobQueue*> m_jobQueues;
	void enqueueVideo(Video *video);
private slots:
	void videoChanged();
signals:
	void runningJob(Job *job);
};

#endif // VIDEOQUEUE_H