aboutsummaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-10 18:25:23 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-10 18:25:23 +0200
commit67227847e5771f7b99d4f6959634012b4b03f2e5 (patch)
tree408cf2646dab2dd89d46044f61f3b70d951a05ef /gui/mainwindow.h
parentd3f1112580b1920cae8684d95e0c5eb65c785efe (diff)
downloadnextpnr-67227847e5771f7b99d4f6959634012b4b03f2e5.tar.gz
nextpnr-67227847e5771f7b99d4f6959634012b4b03f2e5.tar.bz2
nextpnr-67227847e5771f7b99d4f6959634012b4b03f2e5.zip
Pass design to gui, display chip name
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