mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	This data is published under ISO-4217 as an XML file. Since we can't parse XML files yet, and the data isn't very large, it was translated to C++ manually here.
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * 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);
 | 
						|
 | 
						|
}
 |