core: Fix libdwarf and Qt build failure
[clinton/Virtual-Jaguar-Rx.git] / src / gui / emustatus.h
1 //
2 // emustatus.h: Jaguar emulator status
3 //
4 // by Jean-Paul Mari
5 //
6
7 #ifndef __EMUSTATUS_H__
8 #define __EMUSTATUS_H__
9
10 #include <QtWidgets/QtWidgets>
11 #include <stdint.h>
12
13 class EmuStatusWindow : public QWidget
14 {
15 Q_OBJECT
16
17 public:
18 EmuStatusWindow(QWidget * parent = 0);
19 void UpdateM68KCycles(size_t cycles);
20 void RefreshContents(void);
21 void ResetM68KCycles(void);
22
23 private slots:
24 void ResetCycles(void);
25
26 protected:
27 void keyPressEvent(QKeyEvent *);
28
29 private:
30 QVBoxLayout * layout;
31 QPushButton * resetcycles;
32 QLabel * text;
33 bool GPURunning;
34 bool M68000DebugHaltStatus;
35 size_t M68K_opcodecycles;
36 size_t M68K_totalcycles;
37 };
38
39 #endif // __EMUSTATUS_H__