summaryrefslogtreecommitdiffstats
path: root/video.h
diff options
context:
space:
mode:
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);
};