summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibUnicode/CurrencyCode.h
blob: 1eb831e70151a7a6adc092d7ddfd2c9a091c7d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/HashMap.h>
#include <AK/Optional.h>
#include <AK/StringView.h>

namespace Unicode {

struct CurrencyCode {
    Optional<int> minor_unit {};
};

Optional<CurrencyCode> get_currency_code(StringView currency);

}