blob: ba6c091923653baef2f9be3539d9d4720daaa411 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#ifndef __DEBUG_QT_WINDOW_H__
#define __DEBUG_QT_WINDOW_H__
#include <QtGui/QtGui>
#include "emu.h"
//============================================================
// The Qt window that everyone derives from.
//============================================================
class WindowQt : public QMainWindow
{
Q_OBJECT
public:
WindowQt(running_machine* machine, QWidget* parent=NULL);
virtual ~WindowQt() {}
// The interface to an all-window refresh
void refreshAll() { s_refreshAll = true; }
bool wantsRefresh() { return s_refreshAll; }
void clearRefreshFlag() { s_refreshAll = false; }
protected slots:
void debugActOpenMemory();
void debugActOpenDasm();
void debugActOpenLog();
void debugActRun();
void debugActRunAndHide();
void debugActRunToNextCpu();
void debugActRunNextInt();
void debugActRunNextVBlank();
void debugActStepInto();
void debugActStepOver();
void debugActStepOut();
void debugActSoftReset();
void debugActHardReset();
void debugActClose();
void debugActQuit();
protected:
running_machine* m_machine;
static bool s_refreshAll;
};
#endif
|