summaryrefslogtreecommitdiffstats
path: root/video.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2009-09-05 22:30:11 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2009-09-05 22:30:11 -0400
commit04c5531ec85c6e5a4b9e8d2c166e93f32961e442 (patch)
treeed7d43f067d0b5309970d08418c969bdbee2bef7 /video.h
parentSkeleton of job system. (diff)
downloadAnyRip-04c5531ec85c6e5a4b9e8d2c166e93f32961e442.tar.xz
AnyRip-04c5531ec85c6e5a4b9e8d2c166e93f32961e442.zip
Added dvd drive skeleton.
Diffstat (limited to 'video.h')
-rw-r--r--video.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/video.h b/video.h
index cf8cb73..4efee93 100644
--- a/video.h
+++ b/video.h
@@ -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);
};