diff options
Diffstat (limited to 'qtmips_gui/memorydock.cpp')
-rw-r--r-- | qtmips_gui/memorydock.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/qtmips_gui/memorydock.cpp b/qtmips_gui/memorydock.cpp new file mode 100644 index 0000000..0ccca3f --- /dev/null +++ b/qtmips_gui/memorydock.cpp @@ -0,0 +1,21 @@ +#include "memorydock.h" + +MemoryDock::MemoryDock(QWidget *parent) : QDockWidget(parent) { + // TODO setup memory view + + setObjectName("Memory"); + setWindowTitle("Memory"); +} + +MemoryDock::~MemoryDock() { + +} + +void MemoryDock::setup(machine::QtMipsMachine *machine) { + if (machine == nullptr) + // TODO reset memory view + return; + + // TODO setup memory view + +} |