aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40/mainwindow.h
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2018-08-08 09:18:03 -0700
committerGitHub <noreply@github.com>2018-08-08 09:18:03 -0700
commit330bb86bfcfd0e1727c6e786f41b1f4c2440cac4 (patch)
treeea6a0c6531aed19796cfa6ab50a24fb1408ad72f /gui/ice40/mainwindow.h
parent8553573d2485ac2ec60d1c49949c254e02d35490 (diff)
parentfc5cee6fb896bc4d7a8b79dcde789e03c787bd89 (diff)
downloadnextpnr-330bb86bfcfd0e1727c6e786f41b1f4c2440cac4.tar.gz
nextpnr-330bb86bfcfd0e1727c6e786f41b1f4c2440cac4.tar.bz2
nextpnr-330bb86bfcfd0e1727c6e786f41b1f4c2440cac4.zip
Merge pull request #43 from YosysHQ/common_main
Common main and project
Diffstat (limited to 'gui/ice40/mainwindow.h')
-rw-r--r--gui/ice40/mainwindow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gui/ice40/mainwindow.h b/gui/ice40/mainwindow.h
index 829375e2..201bf1b1 100644
--- a/gui/ice40/mainwindow.h
+++ b/gui/ice40/mainwindow.h
@@ -34,17 +34,17 @@ class MainWindow : public BaseMainWindow
public:
void createMenu();
- void load_pcf(std::string filename);
protected:
+ void load_pcf(std::string filename);
+
void onDisableActions() override;
void onJsonLoaded() override;
void onRouteFinished() override;
+ void onProjectLoaded() override;
protected Q_SLOTS:
virtual void new_proj();
- virtual void open_proj();
- virtual bool save_proj();
void open_pcf();
void save_asc();
@@ -55,7 +55,6 @@ class MainWindow : public BaseMainWindow
QAction *actionLoadPCF;
QAction *actionSaveAsc;
- std::string currentProj;
std::string currentPCF;
};