aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-05 17:36:44 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-05 17:36:44 +0100
commitcfe13fdc741ae02b473cb30b36f94e3b01f1dad2 (patch)
tree023bffc77c1dc9e1234b0af5eacf545dae6c7342 /qtmips_gui/mainwindow.h
parent11d6ad2a4574e55e6d9aed43d452dcef822a9247 (diff)
downloadqtmips-cfe13fdc741ae02b473cb30b36f94e3b01f1dad2.tar.gz
qtmips-cfe13fdc741ae02b473cb30b36f94e3b01f1dad2.tar.bz2
qtmips-cfe13fdc741ae02b473cb30b36f94e3b01f1dad2.zip
Implement machine reload
Also this commit changes how we pass machine configuration around in gui.
Diffstat (limited to 'qtmips_gui/mainwindow.h')
-rw-r--r--qtmips_gui/mainwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/mainwindow.h b/qtmips_gui/mainwindow.h
index 9431515..1389f21 100644
--- a/qtmips_gui/mainwindow.h
+++ b/qtmips_gui/mainwindow.h
@@ -23,13 +23,14 @@ public:
~MainWindow();
void start();
- void create_core(machine::MachineConfig *config);
+ void create_core(const machine::MachineConfig &config);
bool configured();
public slots:
// Actions signals
void new_machine();
+ void machine_reload();
void show_registers();
void show_program();
void show_memory();