1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:07:44 +00:00

LibLocale: Add a method to convert LocaleID to a String

This commit is contained in:
Timothy Flynn 2023-01-19 07:41:47 -05:00 committed by Linus Groh
parent f3c6510b83
commit 618714e29a
2 changed files with 32 additions and 22 deletions

View file

@ -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>