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 /binaryninjaapi.h | |
| parent | 8d791bc9eb608139c6fd9d99ab0d96ed37561d3a (diff) | |
Add support for warnings to ScriptingInstance
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 17b65b22..98790d37 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -13541,6 +13541,7 @@ namespace BinaryNinja { BNScriptingOutputListener m_callbacks; static void OutputCallback(void* ctxt, const char* text); + static void WarningCallback(void* ctxt, const char* text); static void ErrorCallback(void* ctxt, const char* text); static void InputReadyStateChangedCallback(void* ctxt, BNScriptingProviderInputReadyState state); @@ -13549,6 +13550,7 @@ namespace BinaryNinja { BNScriptingOutputListener& GetCallbacks() { return m_callbacks; } virtual void NotifyOutput(const std::string& text); + virtual void NotifyWarning(const std::string& text); virtual void NotifyError(const std::string& text); virtual void NotifyInputReadyStateChanged(BNScriptingProviderInputReadyState state); }; @@ -13592,6 +13594,7 @@ namespace BinaryNinja { virtual void Stop(); void Output(const std::string& text); + void Warning(const std::string& text); void Error(const std::string& text); void InputReadyStateChanged(BNScriptingProviderInputReadyState state); BNScriptingProviderInputReadyState GetInputReadyState(); |
