mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
6c7b05a0ff
This is generated by GenerateLocaleData, which will soon be in the Locale namespace. Move it out of CurrencyCode.h, as that will continue to live in the Unicode namespace.
23 lines
370 B
C++
23 lines
370 B
C++
/*
|
|
* Copyright (c) 2021, Tim Flynn <trflynn89@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/HashMap.h>
|
|
#include <AK/Optional.h>
|
|
#include <AK/Span.h>
|
|
#include <AK/StringView.h>
|
|
|
|
namespace Unicode {
|
|
|
|
struct CurrencyCode {
|
|
Optional<int> minor_unit {};
|
|
};
|
|
|
|
Optional<CurrencyCode> get_currency_code(StringView currency);
|
|
|
|
}
|