diff options
Diffstat (limited to 'ui/linearview.h')
| -rw-r--r-- | ui/linearview.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/linearview.h b/ui/linearview.h index 3f152f9c..f792d921 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -9,6 +9,8 @@ #include "menus.h" #include "statusbarwidget.h" #include "uicontext.h" +#include "instructionedit.h" +#include <assembledialog.h> #define LINEAR_VIEW_UPDATE_CHECK_INTERVAL 200 #define MAX_STRING_TYPE_LENGTH 1048576 @@ -123,6 +125,8 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ DisassemblySettingsRef m_options; BNFunctionGraphType m_type; + InstructionEdit* m_instrEdit; + BinaryNinja::Ref<BinaryNinja::LinearViewCursor> m_topPosition, m_bottomPosition; std::vector<LinearViewLine> m_lines; size_t m_topLine; @@ -255,6 +259,9 @@ private Q_SLOTS: void setStackAdjustment(); void setCallTypeAdjustment(); + void editInstruction(); + void instrEditDoneEvent(); + Q_SIGNALS: void notifyResizeEvent(int width, int height); |
