xref: /haiku/headers/private/libroot/locale/ICULocaleconvData.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
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 DecimalFormatSymbols::ENumberFormatSymbol FormatSymbol;
19 
20 class ICULocaleconvData : public ICUCategoryData {
21 	typedef	ICUCategoryData		inherited;
22 
23 protected:
24 								ICULocaleconvData(pthread_key_t tlsKey);
25 
26 			status_t			_SetLocaleconvEntry(
27 									const DecimalFormatSymbols* formatSymbols,
28 									char* destination, FormatSymbol symbol,
29 									const char* defaultValue = "");
30 };
31 
32 
33 }	// namespace Libroot
34 }	// namespace BPrivate
35 
36 
37 #endif	// _ICU_LOCALECONV_DATA_H
38