diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-04 02:44:29 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-04 02:44:29 -0400 |
commit | e435141606f96421cbafe7e6ec6b40fa3356eac5 (patch) | |
tree | 4d0fc94fcf14c37826c05f7ca5f4dd3d01c0fbee /video.h | |
parent | Add timing info. (diff) | |
download | AnyRip-e435141606f96421cbafe7e6ec6b40fa3356eac5.tar.xz AnyRip-e435141606f96421cbafe7e6ec6b40fa3356eac5.zip |
Skeleton of job system.
Diffstat (limited to 'video.h')
-rw-r--r-- | video.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +#ifndef VIDEO_H +#define VIDEO_H + + +#include <QObject> +#include <QBitArray> + +class Job; +class Video : public QObject +{ + Q_OBJECT +public: + Video(); + enum Jobs { DVDImage, EncodeMP4, Upload, Subtitle, Poster }; + Job* nextJob(); +private: + QBitArray m_jobsCompleted; +private slots: + void completedJob(bool success); +}; + +#endif // VIDEO_H |