2 #ifndef _CSP_QT_MENUCLASSES_H
3 #define _CSP_QT_MENUCLASSES_H
5 #include "commonclasses.h"
6 #include "mainwidget.h"
8 // This extends class CSP_MainWindow as Ui_MainWindow.
13 class Object_Menu_Control_98: public Object_Menu_Control
17 Object_Menu_Control_98(QObject *parent, USING_FLAGS *p);
18 ~Object_Menu_Control_98();
20 int sig_sound_device(int);
21 int sig_device_type(int);
23 void do_set_memory_wait(bool);
24 void do_set_egc(bool);
25 void do_set_gdc_fast(bool);
26 void do_set_ram_512k(bool);
27 void do_set_init_memsw(bool);
28 void do_set_enable_v30(bool flag);
30 int sig_emu_update_config();
33 class Action_Control_98 : public Action_Control
37 Object_Menu_Control_98 *pc98_binds;
38 Action_Control_98(QObject *parent, USING_FLAGS *p);
46 class META_MainWindow : public Ui_MainWindow {
49 QActionGroup *actionGroup_SoundDevice;
50 QMenu *menu_Emu_SoundDevice;
51 Action_Control_98 *actionRAM_512K;
52 Action_Control_98 *actionINIT_MEMSW;
53 Action_Control_98 *actionGDC_FAST;
54 #if defined(HAS_I286) || defined(HAS_I386) || defined(HAS_I486) || defined(HAS_PENTIUM)
55 Action_Control_98 *actionSUB_V30;
57 #if defined(SUPPORT_EGC)
58 Action_Control_98 *actionEGC;
61 Action_Control_98 *actionMemoryWait;
63 void setupUI_Emu(void);
64 void retranslateUi(void);
66 META_MainWindow(USING_FLAGS *p, CSP_Logger *logger, QWidget *parent = 0);