2 // heapallocatorbrowser.h: Memory heap allocation
7 #ifndef __HEAPALLOCATORBROWSER_H__
8 #define __HEAPALLOCATORBROWSER_H__
15 // Error code definitions
17 #define HA_UNABLENEXTMEMORYALLOC 1
18 #define HA_UNABLEALLOCATEMEMORYUSAGE 2
19 #define HA_MEMORYBLOCKSIZEPROBLEM 3
20 #define HA_MEMORYALLOCATIONPROBLEM 4
21 #define HA_HAANDSPSHARESPACE 5
24 class HeapAllocatorBrowserWindow
: public QWidget
28 typedef struct HeapAllocation
36 HeapAllocatorBrowserWindow(QWidget
*parent
= 0);
37 ~HeapAllocatorBrowserWindow(void);
40 void RefreshContents(void);
44 void keyPressEvent(QKeyEvent
*);
52 #endif // __HEAPALLOCATORBROWSER_H__