diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-25 22:48:34 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-25 22:49:54 -0400 |
commit | 7d6f8dd73aff7046fdc57b39790ae88bfb46955d (patch) | |
tree | 07e5391b6fe1b1d389d1130f19adcb63f6c4f08e /videoqueue.h | |
parent | DVDDrive class. (diff) | |
download | AnyRip-7d6f8dd73aff7046fdc57b39790ae88bfb46955d.tar.xz AnyRip-7d6f8dd73aff7046fdc57b39790ae88bfb46955d.zip |
Finished framework and added job stubs.
Diffstat (limited to 'videoqueue.h')
-rw-r--r-- | videoqueue.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/videoqueue.h b/videoqueue.h new file mode 100644 index 0000000..a587c23 --- /dev/null +++ b/videoqueue.h @@ -0,0 +1,22 @@ +#ifndef VIDEOQUEUE_H +#define VIDEOQUEUE_H + +#include <QObject> +#include <QVector> +class JobQueue; +class Video; + +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(); +}; + +#endif // VIDEOQUEUE_H |