aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-12 14:24:59 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-12 14:24:59 +0200
commit391d49c13ec675e263115d18481d4b842622b712 (patch)
treeadf6116cbb6688d31fc565cc2f14bb874f535486 /gui
parent5f813410aabdae3de84e11861248dcd0699b41c2 (diff)
downloadnextpnr-391d49c13ec675e263115d18481d4b842622b712.tar.gz
nextpnr-391d49c13ec675e263115d18481d4b842622b712.tar.bz2
nextpnr-391d49c13ec675e263115d18481d4b842622b712.zip
Add nextpnr namespace
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'gui')
-rw-r--r--gui/fpgaviewwidget.h4
-rw-r--r--gui/mainwindow.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h
index 4e6838e1..1d05afb7 100644
--- a/gui/fpgaviewwidget.h
+++ b/gui/fpgaviewwidget.h
@@ -7,6 +7,9 @@
#include <QPainter>
#include "nextpnr.h"
+// FIXME
+USING_NEXTPNR_NAMESPACE
+
class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
{
Q_OBJECT
@@ -45,4 +48,5 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
QPoint m_lastPos;
Design *design;
};
+
#endif
diff --git a/gui/mainwindow.h b/gui/mainwindow.h
index c782a4a6..6f3e515f 100644
--- a/gui/mainwindow.h
+++ b/gui/mainwindow.h
@@ -6,6 +6,9 @@
#include <QMainWindow>
+// FIXME
+USING_NEXTPNR_NAMESPACE
+
namespace Ui {
class MainWindow;
}