mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-06-18 13:29:31 +00:00
31 lines
522 B
C++
31 lines
522 B
C++
#ifndef DISASSEMBLERVIEWER_H
|
|
#define DISASSEMBLERVIEWER_H
|
|
|
|
#include <QWidget>
|
|
#include <QByteArray>
|
|
|
|
#include "binaryfile.h"
|
|
namespace Ui {
|
|
class DisassemblerViewer;
|
|
}
|
|
|
|
class DisassemblerViewer : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DisassemblerViewer(QWidget *parent = 0);
|
|
~DisassemblerViewer();
|
|
|
|
void setFile(BinaryFile *file);
|
|
void setData(QByteArray data);
|
|
void setText(QString text);
|
|
|
|
private:
|
|
Ui::DisassemblerViewer *ui;
|
|
|
|
BinaryFile *m_file;
|
|
};
|
|
|
|
#endif // DISASSEMBLERVIEWER_H
|