File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ friend class DisassemblyFunctionHeader;
46
46
47
47
virtual StatusBarWidget* getStatusBarWidget () override ;
48
48
49
- BNFunctionGraphType getILViewType () { return m_ilViewType; };
50
- void setILViewType (BNFunctionGraphType ilViewType);
49
+ virtual BNFunctionGraphType getILViewType () override { return m_ilViewType; };
50
+ virtual void setILViewType (BNFunctionGraphType ilViewType) override ;
51
51
52
52
void setOption (BNDisassemblyOption option, bool state = true );
53
53
void toggleOption (BNDisassemblyOption option);
Original file line number Diff line number Diff line change @@ -329,8 +329,8 @@ private Q_SLOTS:
329
329
330
330
virtual HighlightTokenState getHighlightTokenState () override { return m_highlight; }
331
331
332
- BNFunctionGraphType getILViewType () { return m_ilViewType; };
333
- void setILViewType (BNFunctionGraphType ilViewType);
332
+ virtual BNFunctionGraphType getILViewType () override { return m_ilViewType; };
333
+ virtual void setILViewType (BNFunctionGraphType ilViewType) override ;
334
334
335
335
void toggleOption (BNDisassemblyOption option);
336
336
Original file line number Diff line number Diff line change @@ -122,6 +122,8 @@ class BINARYNINJAUIAPI View
122
122
123
123
virtual LowLevelILFunctionRef getCurrentLowLevelILFunction () { return nullptr ; }
124
124
virtual MediumLevelILFunctionRef getCurrentMediumLevelILFunction () { return nullptr ; }
125
+ virtual BNFunctionGraphType getILViewType () { return NormalFunctionGraph; }
126
+ virtual void setILViewType (BNFunctionGraphType ilViewType) { }
125
127
virtual size_t getCurrentILInstructionIndex () { return BN_INVALID_EXPR; }
126
128
127
129
virtual QFont getFont () = 0;
You can’t perform that action at this time.
0 commit comments