Local variables window detects now if a variable is used or not by the code
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / allwatchbrowser.h
CommitLineData
0203b5fd
JPM
1//\r
2// allwatchbrowser.h: All Watch\r
3//\r
4// by Jean-Paul Mari\r
5//\r
6\r
7#ifndef __ALLWATCHBROWSER_H__\r
8#define __ALLWATCHBROWSER_H__\r
9\r
10#include <QtWidgets>\r
11#include <stdint.h>\r
12\r
13class AllWatchBrowserWindow: public QWidget\r
14{\r
15 Q_OBJECT\r
16\r
17 //\r
18 struct WatchInfo\r
19 {\r
20 //size_t TypeEncoding;\r
21 //size_t TypeByteSize;\r
22 size_t addr;\r
23 size_t TypeTag;\r
24 char *PtrVariableName;\r
25 char *PtrVariableBaseTypeName;\r
26 }S_WatchInfo;\r
27\r
28 public:\r
29 AllWatchBrowserWindow(QWidget *parent = 0);\r
30 ~AllWatchBrowserWindow(void);\r
31\r
32 public slots:\r
33// void DefineAllKeys(void);\r
34 void RefreshContents(void);\r
35// void GoToAddress(void);\r
36\r
37 protected:\r
38// void keyPressEvent(QKeyEvent *);\r
39\r
40 private:\r
41 QVBoxLayout *layout;\r
42// QTextBrowser * text;\r
43// QLabel *text;\r
44 QTextBrowser *text;\r
45// QPushButton *refresh;\r
46// QLineEdit *address;\r
47// QPushButton *go;\r
48 WatchInfo *PtrWatchInfo;\r
49// int32_t memBase;\r
50 size_t NbWatch;\r
51};\r
52\r
53#endif // __ALLWATCHBROWSER_H__\r