diff options
Diffstat (limited to 'gui/generic/mainwindow.h')
-rw-r--r-- | gui/generic/mainwindow.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/generic/mainwindow.h b/gui/generic/mainwindow.h index e97bb4e7..fd7cb7d2 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,10 @@ class MainWindow : public BaseMainWindow virtual void new_proj();
virtual void open_proj();
virtual bool save_proj();
+ void newContext(Context *ctx);
+
+private:
+ ArchArgs chipArgs;
};
NEXTPNR_NAMESPACE_END
|