summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
new file mode 100644
index 0000000..cc78ddd
--- /dev/null
+++ b/mainwindow.h
@@ -0,0 +1,31 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QWidget>
+#include "dvddrive.h"
+class QVBoxLayout;
+class QPushButton;
+class Video;
+class VideoQueue;
+class Job;
+
+class MainWindow : public QWidget
+{
+ Q_OBJECT
+public:
+ MainWindow();
+private:
+ QVBoxLayout *m_videoGuis;
+ QVBoxLayout *m_jobGuis;
+ QPushButton *m_currentlyInserted;
+ VideoQueue *m_queue;
+ void addVideo(Video *video);
+private slots:
+ void dvdAdded();
+ void dvdRemoved();
+ void newVideoFromDVD();
+ void runningJob(Job *job);
+ void completedJob(bool success);
+};
+
+#endif // MAINWINDOW_H