mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:47:34 +00:00
LibLocale: Add a method to convert LocaleID to a String
This commit is contained in:
parent
f3c6510b83
commit
618714e29a
2 changed files with 32 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021-2022, Tim Flynn <trflynn89@serenityos.org>
|
||||
* Copyright (c) 2021-2023, Tim Flynn <trflynn89@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -58,6 +58,7 @@ struct OtherExtension {
|
|||
using Extension = AK::Variant<LocaleExtension, TransformedExtension, OtherExtension>;
|
||||
|
||||
struct LocaleID {
|
||||
ErrorOr<String> to_string() const;
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
|
||||
template<typename ExtensionType>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue