Added a Local browser window for local variables
[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 struct WatchInfo
19 {
20 //size_t TypeEncoding;
21 //size_t TypeByteSize;
22 size_t addr;
23 size_t TypeTag;
24 char *PtrVariableName;
25 char *PtrVariableBaseTypeName;
26 }S_WatchInfo;
27
28 public:
29 AllWatchBrowserWindow(QWidget *parent = 0);
30 ~AllWatchBrowserWindow(void);
31
32 public slots:
33 // void DefineAllKeys(void);
34 void RefreshContents(void);
35 // void GoToAddress(void);
36
37 protected:
38 // void keyPressEvent(QKeyEvent *);
39
40 private:
41 QVBoxLayout *layout;
42 // QTextBrowser * text;
43 // QLabel *text;
44 QTextBrowser *text;
45 // QPushButton *refresh;
46 // QLineEdit *address;
47 // QPushButton *go;
48 WatchInfo *PtrWatchInfo;
49 // int32_t memBase;
50 size_t NbWatch;
51 };
52
53 #endif // __ALLWATCHBROWSER_H__