diff options
| author | Josh Ferrell <josh@vector35.com> | 2023-03-29 15:41:59 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2023-03-29 15:41:59 -0400 |
| commit | f270c5099ace1ae496257841a5bdff4bc36f01c1 (patch) | |
| tree | 15f6ba3fd8f9906ed0b51715837648f835c218af /ui/scriptingconsole.h | |
| parent | 8d791bc9eb608139c6fd9d99ab0d96ed37561d3a (diff) | |
Add support for warnings to ScriptingInstance
Diffstat (limited to 'ui/scriptingconsole.h')
| -rw-r--r-- | ui/scriptingconsole.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/scriptingconsole.h b/ui/scriptingconsole.h index 21636be5..d9f7d814 100644 --- a/ui/scriptingconsole.h +++ b/ui/scriptingconsole.h @@ -155,6 +155,7 @@ class BINARYNINJAUIAPI ScriptingConsole : public GlobalAreaWidget, BinaryNinja:: { std::string text; bool isError; + bool isWarning; }; QString m_providerName; @@ -210,6 +211,7 @@ class BINARYNINJAUIAPI ScriptingConsole : public GlobalAreaWidget, BinaryNinja:: void addInput(const std::string& text); virtual void NotifyOutput(const std::string& text) override; + virtual void NotifyWarning(const std::string& text) override; virtual void NotifyError(const std::string& text) override; virtual void NotifyInputReadyStateChanged(BNScriptingProviderInputReadyState state) override; virtual void notifyViewChanged(ViewFrame* frame) override; |
