ladybird/Userland/Libraries/LibUnicode/CurrencyCode.h
Timothy Flynn 6c7b05a0ff LibUnicode+LibJS: Move Unicode::get_available_currencies() to Locale.h
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.
2022-09-05 14:37:16 -04:00

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);
}