Fixed slash/backslash issue, in the Alpine tab, to follow platform requirement
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / heapallocatorbrowser.h
CommitLineData
cf76e892 1//
570dad92 2// heapallocatorbrowser.h: Memory heap allocation
cf76e892 3//
570dad92 4// by Jean-Paul Mari
cf76e892
JPM
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
570dad92 17 typedef struct HeapAllocation
cf76e892 18 {
cf76e892 19 uint32_t nextalloc;
cf76e892 20 uint32_t size;
cf76e892
JPM
21 uint16_t used;
22 }S_HeapAllocation;
23
24 public:
25 HeapAllocatorBrowserWindow(QWidget *parent = 0);
26 ~HeapAllocatorBrowserWindow(void);
27
28 public slots:
cf76e892 29 void RefreshContents(void);
a2dfb8e5 30 void Reset(void);
cf76e892
JPM
31
32 protected:
a2dfb8e5 33 void keyPressEvent(QKeyEvent *);
cf76e892
JPM
34
35 private:
36 QVBoxLayout *layout;
cf76e892 37 QTextBrowser *text;
cf76e892 38 size_t Adr;
cf76e892
JPM
39};
40
41#endif // __HEAPALLOCATORBROWSER_H__