aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-15 12:59:45 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-15 13:01:08 +0200
commitd7ca8071777cc1b11572dbb0d79dcf8a677a0bcd (patch)
tree98bc03c2819f1aff5c21e077ec20fb3a04c1e755 /qtmips_gui/mainwindow.h
parent20ab37e56818d24e088f554aa82143545b33ad77 (diff)
downloadqtmips-d7ca8071777cc1b11572dbb0d79dcf8a677a0bcd.tar.gz
qtmips-d7ca8071777cc1b11572dbb0d79dcf8a677a0bcd.tar.bz2
qtmips-d7ca8071777cc1b11572dbb0d79dcf8a677a0bcd.zip
Add cache dock
Diffstat (limited to 'qtmips_gui/mainwindow.h')
-rw-r--r--qtmips_gui/mainwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qtmips_gui/mainwindow.h b/qtmips_gui/mainwindow.h
index 999c966..3c1cf9f 100644
--- a/qtmips_gui/mainwindow.h
+++ b/qtmips_gui/mainwindow.h
@@ -9,6 +9,7 @@
#include "registersdock.h"
#include "programdock.h"
#include "memorydock.h"
+#include "cachedock.h"
#include "qtmipsmachine.h"
#include "machineconfig.h"
@@ -32,6 +33,8 @@ public slots:
void show_registers();
void show_program();
void show_memory();
+ void show_cache_data();
+ void show_cache_program();
// Actions - execution speed
void set_speed();
// Machine signals
@@ -53,7 +56,7 @@ private:
RegistersDock *registers;
ProgramDock *program;
MemoryDock *memory;
- // TODO implement cache docks
+ CacheDock *cache_program, *cache_data;
QActionGroup *speed_group;