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