Show DRAM size in the emulator status
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / localbrowser.h
1 //
2 // localbrowser.h: All Watch
3 //
4 // by Jean-Paul Mari
5 //
6
7 #ifndef __LOCALBROWSER_H__
8 #define __LOCALBROWSER_H__
9
10 #include <QtWidgets>
11 #include <stdint.h>
12
13 class LocalBrowserWindow: public QWidget
14 {
15 Q_OBJECT
16
17 //
18 struct WatchInfo
19 {
20 //size_t TypeEncoding;
21 //size_t TypeByteSize;
22 size_t Op;
23 size_t Adr;
24 int Offset;
25 size_t TypeTag;
26 size_t TypeEncoding;
27 size_t TypeByteSize;
28 char *PtrVariableName;
29 char *PtrVariableBaseTypeName;
30 char *PtrCPURegisterName;
31 }S_WatchInfo;
32
33 public:
34 LocalBrowserWindow(QWidget *parent = 0);
35 ~LocalBrowserWindow(void);
36
37 public slots:
38 // void DefineAllKeys(void);
39 void RefreshContents(void);
40 bool UpdateInfos(void);
41 // void GoToAddress(void);
42
43 protected:
44 void keyPressEvent(QKeyEvent *);
45
46 private:
47 QVBoxLayout *layout;
48 // QTextBrowser * text;
49 // QLabel *text;
50 QTextBrowser *text;
51 // QPushButton *refresh;
52 // QLineEdit *address;
53 // QPushButton *go;
54 WatchInfo *LocalInfo;
55 // int32_t memBase;
56 size_t NbLocal;
57 char *FuncName;
58 };
59
60 #endif // __LOCALBROWSER_H__