OSDN Git Service

[VM][PC8801][PC9801][UI][I8251][UPD765A] Merge upstream 2022-11-14 .
[csp-qt/common_source_project-fm7.git] / source / src / qt / machines / pc8801 / menuclasses.h
1
2 #ifndef _CSP_QT_MENUCLASSES_H
3 #define _CSP_QT_MENUCLASSES_H
4
5 #include "commonclasses.h"
6 #include "mainwidget.h"
7 // This extends class CSP_MainWindow as Ui_MainWindow.
8 // You may use this as
9 QT_BEGIN_NAMESPACE
10 class Ui_SoundDialog;
11 class USING_FLAGS;
12 class CSP_Logger;
13 class QActionGroup;
14 //  wrote of Specific menu.
15 class META_MainWindow : public Ui_MainWindow {
16         Q_OBJECT
17 protected:
18         int config_sound_device_type;
19         Action_Control *actionMemoryWait; //
20
21         Action_Control *actionHMB20; //
22         Action_Control *actionGSX8800; //
23         Action_Control *actionPCG8100; //
24
25         Action_Control *actionCMD_Sing; //
26         Action_Control *actionPalette; //
27
28         Action_Control *actionFDD_5Inch; //
29         Action_Control *actionFDD_8Inch; //
30
31         Action_Control *action16bit; //
32
33         Action_Control *actionM88DRV; //
34         Action_Control *actionQuasiS88CMT; //
35
36         void setupUI_Emu(void);
37         void retranslateUi(void);
38 public:
39         META_MainWindow(std::shared_ptr<USING_FLAGS> p, std::shared_ptr<CSP_Logger> logger, QWidget *parent = 0);
40         ~META_MainWindow();
41         void retranslateVolumeLabels(Ui_SoundDialog *p);
42
43 };
44
45 QT_END_NAMESPACE
46
47 #endif // END