aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/memorydock.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-05 17:08:04 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-05 17:08:04 +0100
commit8025ccc2091228f9d089532852a2380f5f5a80b1 (patch)
tree21e9b0d9c0d45300ee3143d57c79a9e1e8d4e68d /qtmips_gui/memorydock.h
parent85110f7880e32d298ee2853b4c055c7aaa22662f (diff)
downloadqtmips-8025ccc2091228f9d089532852a2380f5f5a80b1.tar.gz
qtmips-8025ccc2091228f9d089532852a2380f5f5a80b1.tar.bz2
qtmips-8025ccc2091228f9d089532852a2380f5f5a80b1.zip
Add template for Memory dock
For now a memory view is missing so there is no content.
Diffstat (limited to 'qtmips_gui/memorydock.h')
-rw-r--r--qtmips_gui/memorydock.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/qtmips_gui/memorydock.h b/qtmips_gui/memorydock.h
new file mode 100644
index 0000000..bec8a62
--- /dev/null
+++ b/qtmips_gui/memorydock.h
@@ -0,0 +1,19 @@
+#ifndef MEMORYDOCK_H
+#define MEMORYDOCK_H
+
+#include <QDockWidget>
+#include "qtmipsmachine.h"
+
+class MemoryDock : public QDockWidget {
+ Q_OBJECT
+public:
+ MemoryDock(QWidget *parent);
+ ~MemoryDock();
+
+ void setup(machine::QtMipsMachine *machine);
+
+private:
+ // TODO memory view
+};
+
+#endif // MEMORYDOCK_H