aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/instructionview.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/instructionview.h
parentbcdd7c87b1eda7dc6b294cfa0796ce7e36f12b23 (diff)
downloadqtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.tar.gz
qtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.tar.bz2
qtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.zip
Add coreview progress
Diffstat (limited to 'qtmips_gui/coreview/instructionview.h')
-rw-r--r--qtmips_gui/coreview/instructionview.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/qtmips_gui/coreview/instructionview.h b/qtmips_gui/coreview/instructionview.h
new file mode 100644
index 0000000..8db4756
--- /dev/null
+++ b/qtmips_gui/coreview/instructionview.h
@@ -0,0 +1,20 @@
+#ifndef INSTRUCTIONVIEW_H
+#define INSTRUCTIONVIEW_H
+
+#include <QGraphicsSimpleTextItem>
+#include "qtmipsmachine.h"
+
+namespace coreview {
+
+class InstructionView : public QObject, public QGraphicsSimpleTextItem {
+ Q_OBJECT
+public:
+ InstructionView();
+
+public slots:
+ void instruction_update(machine::Instruction &i);
+};
+
+}
+
+#endif // INSTRUCTIONVIEW_H