AppleSAWS/src/ui/widgets/DisassemblerMetadataDialog.h
2016-10-26 02:23:33 -05:00

61 lines
1.2 KiB
C++

#ifndef DISASSEMBLERMETADATADIALOG_H
#define DISASSEMBLERMETADATADIALOG_H
#include "binaryfilemetadata.h"
#include "EntryPoints.h"
#include "EntryPointModel.h"
#include "AssemblerSymbolModel.h"
#include "AssemblerSymbols.h"
#include "LocationInfoDialog.h"
#include <QDialog>
namespace Ui {
class DisassemblerMetadataDialog;
}
class DisassemblerMetadataDialog : public QDialog
{
Q_OBJECT
public:
explicit DisassemblerMetadataDialog(QWidget *parent = 0);
~DisassemblerMetadataDialog();
void setRelocatable(bool relocatable);
void processSymbols();
void processEntryPoints();
protected:
void showEvent(QShowEvent *);
protected slots:
void handleCancelButton();
void handleExitButton();
void handleProcessButton();
void handleAddEntryPointButton();
void handleRemoveEntryPointButton();
void handleAddSymbolButton();
void handleRemoveSymbolButton();
private:
Ui::DisassemblerMetadataDialog *ui;
BinaryFileMetadata *m_bfm;
EntryPoints *m_eps;
EntryPointModel *m_epmodel;
AssemblerSymbols *m_as;
AssemblerSymbolModel *m_asmodel;
bool m_isRelocatable;
};
#endif // DISASSEMBLERMETADATADIALOG_H