summaryrefslogtreecommitdiffstats
path: root/titleloadjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'titleloadjob.h')
-rw-r--r--titleloadjob.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/titleloadjob.h b/titleloadjob.h
new file mode 100644
index 0000000..d4ff9ab
--- /dev/null
+++ b/titleloadjob.h
@@ -0,0 +1,21 @@
+#ifndef TITLELOADJOB_H
+#define TITLELOADJOB_H
+
+#include "job.h"
+#include "video.h"
+
+class TitleLoadJob : public Job
+{
+ Q_OBJECT
+public:
+ TitleLoadJob(Video *video, QString subtitlePath, QString posterPath);
+ Video::Jobs jobType() const;
+ QWidget* gui();
+protected:
+ bool executeJob();
+private:
+ QString m_subtitlePath;
+ QString m_posterPath;
+};
+
+#endif // TITLELOADJOB_H