aboutsummaryrefslogtreecommitdiffstats
path: root/gui/generic/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/generic/mainwindow.h')
-rw-r--r--gui/generic/mainwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/generic/mainwindow.h b/gui/generic/mainwindow.h
index e97bb4e7..375436b6 100644
--- a/gui/generic/mainwindow.h
+++ b/gui/generic/mainwindow.h
@@ -29,7 +29,7 @@ class MainWindow : public BaseMainWindow
Q_OBJECT
public:
- explicit MainWindow(std::unique_ptr<Context> context, QWidget *parent = 0);
+ explicit MainWindow(std::unique_ptr<Context> context, ArchArgs args, QWidget *parent = 0);
virtual ~MainWindow();
public:
@@ -39,6 +39,7 @@ class MainWindow : public BaseMainWindow
virtual void new_proj();
virtual void open_proj();
virtual bool save_proj();
+ void newContext(Context *ctx);
};
NEXTPNR_NAMESPACE_END