mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:32:44 +00:00 
			
		
		
		
	 6c7b05a0ff
			
		
	
	
		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.
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			370 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 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);
 | |
| 
 | |
| }
 |