aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/programcounter.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-08 21:43:58 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-08 21:43:58 +0100
commit506174a8266eb9842ff9e50a89ddf86cb975be30 (patch)
treecd1c2905d48c172d2b83e4230b1f76dc46e8f3d3 /qtmips_gui/coreview/programcounter.h
parentbcdd7c87b1eda7dc6b294cfa0796ce7e36f12b23 (diff)
downloadqtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.tar.gz
qtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.tar.bz2
qtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.zip
Add coreview progress
Diffstat (limited to 'qtmips_gui/coreview/programcounter.h')
-rw-r--r--qtmips_gui/coreview/programcounter.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/qtmips_gui/coreview/programcounter.h b/qtmips_gui/coreview/programcounter.h
index 220b42e..c60ad36 100644
--- a/qtmips_gui/coreview/programcounter.h
+++ b/qtmips_gui/coreview/programcounter.h
@@ -4,7 +4,6 @@
#include <QGraphicsObject>
#include <QPainter>
#include "qtmipsmachine.h"
-#include "../coreview.h"
#include "connection.h"
namespace coreview {
@@ -25,18 +24,13 @@ private slots:
void pc_update(std::uint32_t val);
private:
- QGraphicsSimpleTextItem value;
QGraphicsSimpleTextItem name;
+ QGraphicsSimpleTextItem value;
Connector *con_in, *con_out;
};
}
-#else
-
-namespace coreview {
- class ProgramCounter;
-};
#endif // COREVIEW_PROGRAMCOUNTER_H