From 95eefc7fb8c2de3e1640223316fb82e15e936f37 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 2 Jul 2024 08:00:00 +0200 Subject: [PATCH] [client,sdl] add_scheme_handler stub for windows --- client/SDL/common/aad/wrapper/webview.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/client/SDL/common/aad/wrapper/webview.h b/client/SDL/common/aad/wrapper/webview.h index 91cabf61e..795f05e99 100644 --- a/client/SDL/common/aad/wrapper/webview.h +++ b/client/SDL/common/aad/wrapper/webview.h @@ -991,6 +991,13 @@ namespace webview m_navigateCallbackArg = arg; } + void add_scheme_handler(const std::string& scheme, + std::function callback, + void* arg) + { + // TODO: Implement + } + void set_html(const std::string& html) { objc::msg_send( @@ -2456,6 +2463,13 @@ namespace webview m_com_handler->add_navigate_listener(callback, arg); } + void add_scheme_handler(const std::string& scheme, + std::function callback, + void* arg) + { + // TODO: Implement + } + void set_html(const std::string& html) { m_webview->NavigateToString(widen_string(html).c_str());