aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/instructionview.h
diff options
context:
space:
mode:
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