aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.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/mainwindow.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/mainwindow.h')
-rw-r--r--qtmips_gui/mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_gui/mainwindow.h b/qtmips_gui/mainwindow.h
index 1afe137..9431515 100644
--- a/qtmips_gui/mainwindow.h
+++ b/qtmips_gui/mainwindow.h
@@ -10,6 +10,7 @@
#include "cachestatistics.h"
#include "registersdock.h"
#include "programdock.h"
+#include "memorydock.h"
#include "qtmipsmachine.h"
#include "machineconfig.h"
@@ -31,6 +32,7 @@ public slots:
void new_machine();
void show_registers();
void show_program();
+ void show_memory();
void show_cache_content();
void show_cache_statictics();
// Actions - execution speed
@@ -53,6 +55,7 @@ private:
RegistersDock *registers;
ProgramDock *program;
+ MemoryDock *memory;
// TODO implement cahce docks
CacheContentDock *cache_content;
CacheStatisticsDock *cache_statictics;