Potential fix to compile on Linux
[clinton/Virtual-Jaguar-Rx.git] / src / gui / configdialog.h
1 //
2 // configdialog.h - Configuration dialog
3 //
4 // by James Hammons
5 // (C) 2010 Underground Software
6 //
7 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
8 //
9 // Who When What
10 // --- ---------- ------------------------------------------------------------
11 // JPM 06/19/2016 Soft debugger support
12 // JPM 09/03/2018 Added a Models & Bios tab
13 //
14
15 #ifndef __CONFIGDIALOG_H__
16 #define __CONFIGDIALOG_H__
17
18 #define NEWMODELSBIOSHANDLER // New Jaguar models and bios usage handler
19
20 #include <QtWidgets/QtWidgets>
21
22 class GeneralTab;
23 #ifdef NEWMODELSBIOSHANDLER
24 class ModelsBiosTab;
25 #endif
26 class ControllerTab;
27 class AlpineTab;
28 class DebuggerTab;
29 class KeyBindingsTab;
30
31
32 class ConfigDialog: public QDialog
33 {
34 Q_OBJECT
35
36 public:
37 ConfigDialog(QWidget * parent = 0);
38 ~ConfigDialog();
39 void UpdateVJSettings(void);
40
41 private:
42 void LoadDialogFromSettings(void);
43
44 private:
45 QTabWidget *tabWidget;
46 QDialogButtonBox *buttonBox;
47
48 public:
49 GeneralTab *generalTab;
50 #ifdef NEWMODELSBIOSHANDLER
51 ModelsBiosTab *modelsbiosTab;
52 #endif
53 ControllerTab *controllerTab1;
54 // ControllerTab *controllerTab2;
55 KeyBindingsTab *keybindingsTab;
56 AlpineTab *alpineTab;
57 DebuggerTab *debuggerTab;
58 };
59
60 #endif // __CONFIGDIALOG_H__