c894d1868e
* update copyrights of locale backend files Multibyte-support has been rewritten to use ICU as backend. While this does not necessarily work properly in every aspect (e.g. the shell still has [different] problems with multibyte- characters now), it does fix #6263 and #7700.
38 lines
767 B
C++
38 lines
767 B
C++
/*
|
|
* Copyright 2010-2011, Oliver Tappe, zooey@hirschkaefer.de.
|
|
* 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 {
|
|
namespace Libroot {
|
|
|
|
|
|
typedef DecimalFormatSymbols::ENumberFormatSymbol FormatSymbol;
|
|
|
|
class ICULocaleconvData : public ICUCategoryData {
|
|
typedef ICUCategoryData inherited;
|
|
|
|
protected:
|
|
ICULocaleconvData(pthread_key_t tlsKey);
|
|
|
|
status_t _SetLocaleconvEntry(
|
|
const DecimalFormatSymbols* formatSymbols,
|
|
char* destination, FormatSymbol symbol,
|
|
const char* defaultValue = "");
|
|
};
|
|
|
|
|
|
} // namespace Libroot
|
|
} // namespace BPrivate
|
|
|
|
|
|
#endif // _ICU_LOCALECONV_DATA_H
|