aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/newdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/newdialog.h')
-rw-r--r--qtmips_gui/newdialog.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/qtmips_gui/newdialog.h b/qtmips_gui/newdialog.h
index a088777..5b50a41 100644
--- a/qtmips_gui/newdialog.h
+++ b/qtmips_gui/newdialog.h
@@ -7,6 +7,7 @@
#include <QMessageBox>
#include "ui_NewDialog.h"
#include "ui_NewDialogCache.h"
+#include "machineconfig.h"
class NewDialog : public QDialog {
Q_OBJECT
@@ -21,14 +22,24 @@ private slots:
void cancel();
void create();
void browse_elf();
- void preset(bool);
- void set_custom_preset();
+ void set_preset();
+ void pipelined_change(bool);
+ void delay_slot_change(bool);
+ void hazard_unit_change();
+ void mem_protec_exec_change(bool);
+ void mem_protec_write_change(bool);
+
+ void cache_data_change(bool);
+ void cache_program_change(bool);
private:
Ui::NewDialog *ui;
Ui::NewDialogCache *ui_cache_p, *ui_cache_d;
QSettings *settings;
+ machine::MachineConfig *config;
+ void config_gui(); // Apply configuration to gui
+
void load_settings();
void store_settings();
};