Debugger sources code clean-up
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / allwatchbrowser.h
1 //
2 // allwatchbrowser.h: All Watch
3 //
4 // by Jean-Paul Mari
5 //
6
7 #ifndef __ALLWATCHBROWSER_H__
8 #define __ALLWATCHBROWSER_H__
9
10 #include <QtWidgets>
11 #include <stdint.h>
12
13 class AllWatchBrowserWindow: public QWidget
14 {
15 Q_OBJECT
16
17 //
18 typedef struct WatchInfo
19 {
20 size_t addr;
21 size_t TypeTag;
22 char *PtrVariableName;
23 char *PtrVariableBaseTypeName;
24 }S_WatchInfo;
25
26 public:
27 AllWatchBrowserWindow(QWidget *parent = 0);
28 ~AllWatchBrowserWindow(void);
29 void Reset(void);
30
31 public slots:
32 void RefreshContents(void);
33
34 protected:
35 void keyPressEvent(QKeyEvent *);
36
37 private:
38 QVBoxLayout *layout;
39 QTextBrowser *text;
40 WatchInfo *PtrWatchInfo;
41 size_t NbWatch;
42 };
43
44 #endif // __ALLWATCHBROWSER_H__