1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

LibUnicode: Dynamically load the generated UnicodeNumberFormat symbols

This commit is contained in:
Timothy Flynn 2021-12-16 12:24:01 -05:00 committed by Brian Gianforcaro
parent 09be26b5d2
commit a1f0ca59ae
4 changed files with 40 additions and 53 deletions

View file

@ -64,6 +64,14 @@ struct Symbols {
Optional<LanguageID> (*add_likely_subtags)(LanguageID const&);
Optional<String> (*resolve_most_likely_territory)(LanguageID const&);
// Loaded from UnicodeNumberFormat.cpp:
Optional<StringView> (*get_number_system_symbol)(StringView, StringView, NumericSymbol);
Optional<NumberGroupings> (*get_number_system_groupings)(StringView, StringView);
Optional<NumberFormat> (*get_standard_number_system_format)(StringView, StringView, StandardNumberFormatType);
Vector<NumberFormat> (*get_compact_number_system_formats)(StringView, StringView, CompactNumberFormatType);
Vector<NumberFormat> (*get_unit_formats)(StringView, StringView, Style);
private:
Symbols() = default;
};