diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-21 15:41:40 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-21 15:42:19 +0200 |
commit | 097df1869d654b1214b925fe991aa09d2ef5b3cd (patch) | |
tree | e14442d2e98d53a4c4c8985d64cd963e48fba085 /gui/ice40/mainwindow.h | |
parent | 2d405f966b4e69b95cd4ea9acbb5438e1fa91e69 (diff) | |
download | nextpnr-097df1869d654b1214b925fe991aa09d2ef5b3cd.tar.gz nextpnr-097df1869d654b1214b925fe991aa09d2ef5b3cd.tar.bz2 nextpnr-097df1869d654b1214b925fe991aa09d2ef5b3cd.zip |
Added task manager and worker thread for ice40
Diffstat (limited to 'gui/ice40/mainwindow.h')
-rw-r--r-- | gui/ice40/mainwindow.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gui/ice40/mainwindow.h b/gui/ice40/mainwindow.h index e9c8ff77..fd65f9ae 100644 --- a/gui/ice40/mainwindow.h +++ b/gui/ice40/mainwindow.h @@ -2,6 +2,7 @@ #define MAINWINDOW_H
#include "../basewindow.h"
+#include "worker.h"
// FIXME
USING_NEXTPNR_NAMESPACE
@@ -12,10 +13,17 @@ class MainWindow : public BaseMainWindow public:
explicit MainWindow(Context *ctx, QWidget *parent = 0);
- ~MainWindow();
+ virtual ~MainWindow();
public:
void createMenu();
+
+ protected Q_SLOTS:
+ virtual void open();
+ virtual bool save();
+
+ private:
+ TaskManager *task;
};
#endif // MAINWINDOW_H
|