mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-22 12:28:51 +00:00
7c9c7e6fe4
* Add symbol exports required for external native plugins to work on Windows * Make Linux build behave more like Windows so that missing export annotations can be more easily detected.
31 lines
698 B
C++
31 lines
698 B
C++
#ifndef MEMORYDOCKWIDGET_H
|
|
#define MEMORYDOCKWIDGET_H
|
|
|
|
#include "AddressableDockWidget.h"
|
|
#include "core/Cutter.h"
|
|
|
|
#include <QAction>
|
|
|
|
/* Disassembly/Graph/Hexdump/Decompiler view priority */
|
|
enum class MemoryWidgetType { Disassembly, Graph, Hexdump, Decompiler };
|
|
|
|
class CUTTER_EXPORT MemoryDockWidget : public AddressableDockWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MemoryDockWidget(MemoryWidgetType type, MainWindow *parent);
|
|
~MemoryDockWidget() override {}
|
|
|
|
bool tryRaiseMemoryWidget();
|
|
MemoryWidgetType getType() const
|
|
{
|
|
return mType;
|
|
}
|
|
bool eventFilter(QObject *object, QEvent *event) override;
|
|
private:
|
|
|
|
MemoryWidgetType mType;
|
|
};
|
|
|
|
#endif // MEMORYDOCKWIDGET_H
|