Debugger sources code clean-up
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / heapallocatorbrowser.h
... / ...
CommitLineData
1//
2// heapallocatorbrowser.h: Memory heap allocation
3//
4// by Jean-Paul Mari
5//
6
7#ifndef __HEAPALLOCATORBROWSER_H__
8#define __HEAPALLOCATORBROWSER_H__
9
10#include <QtWidgets>
11#include <stdint.h>
12
13class HeapAllocatorBrowserWindow: public QWidget
14{
15 Q_OBJECT
16
17 typedef struct HeapAllocation
18 {
19 uint32_t nextalloc;
20 uint32_t size;
21 uint16_t used;
22 }S_HeapAllocation;
23
24 public:
25 HeapAllocatorBrowserWindow(QWidget *parent = 0);
26 ~HeapAllocatorBrowserWindow(void);
27
28 public slots:
29 void RefreshContents(void);
30 void Reset(void);
31
32 protected:
33 void keyPressEvent(QKeyEvent *);
34
35 private:
36 QVBoxLayout *layout;
37 QTextBrowser *text;
38 size_t Adr;
39};
40
41#endif // __HEAPALLOCATORBROWSER_H__