diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-05 22:30:11 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-05 22:30:11 -0400 |
commit | 04c5531ec85c6e5a4b9e8d2c166e93f32961e442 (patch) | |
tree | ed7d43f067d0b5309970d08418c969bdbee2bef7 /video.h | |
parent | Skeleton of job system. (diff) | |
download | AnyRip-04c5531ec85c6e5a4b9e8d2c166e93f32961e442.tar.xz AnyRip-04c5531ec85c6e5a4b9e8d2c166e93f32961e442.zip |
Added dvd drive skeleton.
Diffstat (limited to 'video.h')
-rw-r--r-- | video.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,20 +1,23 @@ #ifndef VIDEO_H #define VIDEO_H - #include <QObject> #include <QBitArray> class Job; +class DVDDrive; class Video : public QObject { Q_OBJECT public: - Video(); + Video(DVDDrive *dvdDrive); enum Jobs { DVDImage, EncodeMP4, Upload, Subtitle, Poster }; Job* nextJob(); + bool isJobComplete(Jobs job) const; private: QBitArray m_jobsCompleted; + QString m_title; + DVDDrive *m_dvdDrive; private slots: void completedJob(bool success); }; |