xref: /haiku/headers/private/libroot/locale/ICULocaleconvData.h (revision 372b901dfeada686207d00bbcce456f748bbda12)
1 /*
2  * Copyright 2010-2011, Oliver Tappe, zooey@hirschkaefer.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _ICU_LOCALECONV_DATA_H
6 #define _ICU_LOCALECONV_DATA_H
7 
8 
9 #include "ICUCategoryData.h"
10 
11 #include <unicode/decimfmt.h>
12 
13 
14 namespace BPrivate {
15 namespace Libroot {
16 
17 
18 typedef U_NAMESPACE_QUALIFIER DecimalFormatSymbols::ENumberFormatSymbol
19 	FormatSymbol;
20 
21 class ICULocaleconvData : public ICUCategoryData {
22 	typedef	ICUCategoryData		inherited;
23 
24 protected:
25 								ICULocaleconvData(pthread_key_t tlsKey);
26 
27 			status_t			_SetLocaleconvEntry(
28 									const U_NAMESPACE_QUALIFIER
29 										DecimalFormatSymbols* formatSymbols,
30 									char* destination, FormatSymbol symbol,
31 									const char* defaultValue = "");
32 };
33 
34 
35 }	// namespace Libroot
36 }	// namespace BPrivate
37 
38 
39 #endif	// _ICU_LOCALECONV_DATA_H
40