aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r--gui/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index 55d82e9b..6bc4d21f 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -1,5 +1,6 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
+#include "design.h"
#include "emb.h"
#include <QMainWindow>
@@ -13,7 +14,7 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- explicit MainWindow(QWidget *parent = 0);
+ explicit MainWindow(Design *design, QWidget *parent = 0);
~MainWindow();
private:
@@ -25,6 +26,7 @@ class MainWindow : public QMainWindow
private:
Ui::MainWindow *ui;
emb::stdout_write_type write;
+ Design *design;
};
#endif // MAINWINDOW_H