mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-22 12:28:51 +00:00
29 lines
525 B
C
29 lines
525 B
C
|
#ifndef HEAPDOCKWIDGET_H
|
||
|
#define HEAPDOCKWIDGET_H
|
||
|
|
||
|
#include <QDockWidget>
|
||
|
#include "CutterDockWidget.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class HeapDockWidget;
|
||
|
}
|
||
|
|
||
|
class HeapDockWidget : public CutterDockWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit HeapDockWidget(MainWindow *main);
|
||
|
~HeapDockWidget();
|
||
|
private slots:
|
||
|
void onAllocatorSelected(int index);
|
||
|
|
||
|
private:
|
||
|
enum Allocator { Glibc = 0, AllocatorCount };
|
||
|
Ui::HeapDockWidget *ui;
|
||
|
MainWindow *main;
|
||
|
QWidget* currentHeapWidget = nullptr;
|
||
|
};
|
||
|
|
||
|
#endif // HEAPDOCKWIDGET_H
|