2010-07-24 03:13:00 +04:00
|
|
|
/*
|
2011-11-23 22:55:34 +04:00
|
|
|
* Copyright 2010-2011, Oliver Tappe, zooey@hirschkaefer.de.
|
2010-07-24 03:13:00 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _ICU_LOCALECONV_DATA_H
|
|
|
|
#define _ICU_LOCALECONV_DATA_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "ICUCategoryData.h"
|
|
|
|
|
|
|
|
#include <unicode/decimfmt.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace BPrivate {
|
2010-11-22 16:06:36 +03:00
|
|
|
namespace Libroot {
|
2010-07-24 03:13:00 +04:00
|
|
|
|
|
|
|
|
2020-08-02 12:53:25 +03:00
|
|
|
typedef U_NAMESPACE_QUALIFIER DecimalFormatSymbols::ENumberFormatSymbol
|
|
|
|
FormatSymbol;
|
2010-07-24 03:13:00 +04:00
|
|
|
|
|
|
|
class ICULocaleconvData : public ICUCategoryData {
|
|
|
|
typedef ICUCategoryData inherited;
|
|
|
|
|
|
|
|
protected:
|
2011-11-22 20:17:18 +04:00
|
|
|
ICULocaleconvData(pthread_key_t tlsKey);
|
|
|
|
|
2010-07-24 03:13:00 +04:00
|
|
|
status_t _SetLocaleconvEntry(
|
2020-08-02 12:53:25 +03:00
|
|
|
const U_NAMESPACE_QUALIFIER
|
|
|
|
DecimalFormatSymbols* formatSymbols,
|
2010-07-24 03:13:00 +04:00
|
|
|
char* destination, FormatSymbol symbol,
|
|
|
|
const char* defaultValue = "");
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-11-22 16:06:36 +03:00
|
|
|
} // namespace Libroot
|
2010-07-24 03:13:00 +04:00
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _ICU_LOCALECONV_DATA_H
|