summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibUnicode/CurrencyCode.h
blob: 8088d29b97aa56e5a95856aa90ee9c67a16cb71d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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);

}