Local variables window detects now if a variable is used or not by the code
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / heapallocatorbrowser.h
1 //
2 // memoryheapallocatorbrowser.h: All Watch
3 //
4 // by James Hammons
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __HEAPALLOCATORBROWSER_H__
9 #define __HEAPALLOCATORBROWSER_H__
10
11 #include <QtWidgets>
12 #include <stdint.h>
13
14 class HeapAllocatorBrowserWindow: public QWidget
15 {
16 Q_OBJECT
17
18 struct HeapAllocation
19 {
20 //UINT32 nextalloc;
21 uint32_t nextalloc;
22 //UINT32 size;
23 uint32_t size;
24 //UINT16 used;
25 uint16_t used;
26 }S_HeapAllocation;
27
28 public:
29 HeapAllocatorBrowserWindow(QWidget *parent = 0);
30 ~HeapAllocatorBrowserWindow(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 // int32_t NbWatch;
51 size_t Adr;
52 // HeapAllocation HeapAllocation;
53 };
54
55 #endif // __HEAPALLOCATORBROWSER_H__