[client,sdl] add_scheme_handler stub for windows

This commit is contained in:
akallabeth 2024-07-02 08:00:00 +02:00
parent 15e49da638
commit 95eefc7fb8
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 14 additions and 0 deletions

View File

@ -991,6 +991,13 @@ namespace webview
m_navigateCallbackArg = arg;
}
void add_scheme_handler(const std::string& scheme,
std::function<void(const std::string&, void*)> callback,
void* arg)
{
// TODO: Implement
}
void set_html(const std::string& html)
{
objc::msg_send<void>(
@ -2456,6 +2463,13 @@ namespace webview
m_com_handler->add_navigate_listener(callback, arg);
}
void add_scheme_handler(const std::string& scheme,
std::function<void(const std::string&, void*)> callback,
void* arg)
{
// TODO: Implement
}
void set_html(const std::string& html)
{
m_webview->NavigateToString(widen_string(html).c_str());