From 506174a8266eb9842ff9e50a89ddf86cb975be30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 8 Jan 2018 21:43:58 +0100 Subject: Add coreview progress --- qtmips_gui/coreview/instructionview.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 qtmips_gui/coreview/instructionview.h (limited to 'qtmips_gui/coreview/instructionview.h') 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 +#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 -- cgit v1.2.3