mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
AK+LibUnicode: Add Unicode::create_unicode_url
This is a workaround for the fact that AK::URLParser can't call into LibUnicode directly.
This commit is contained in:
parent
5bcb019106
commit
58f08107b0
4 changed files with 76 additions and 1 deletions
16
Userland/Libraries/LibUnicode/URL.h
Normal file
16
Userland/Libraries/LibUnicode/URL.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Simon Wanner <simon@skyrising.xyz>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
#include <AK/URL.h>
|
||||
|
||||
namespace Unicode {
|
||||
|
||||
ErrorOr<URL> create_unicode_url(String const&);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue