haiku/headers/private/libroot/locale/ICULocaleconvData.h
Adrien Destugues 1bad1ff34a Prepare for ICU update
- libicule and libiculx do not exist anymore in newer ICU versions
  (harfbuzz replaces them), but we didn't actually use them, so remove
  them from the build feature and from the package dependencies
- Add namespace usage marcos since the newer ICU packages put ICU things
  in a namespace, making it easier to have multiple versions of ICU used
  side by side.

No functional change intended, but this makes it possible to build the
code with either ICU 57 (for gcc2) or 66 (for other architectures).
2020-08-02 11:58:14 +02:00

40 lines
822 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 U_NAMESPACE_QUALIFIER DecimalFormatSymbols::ENumberFormatSymbol
FormatSymbol;
class ICULocaleconvData : public ICUCategoryData {
typedef ICUCategoryData inherited;
protected:
ICULocaleconvData(pthread_key_t tlsKey);
status_t _SetLocaleconvEntry(
const U_NAMESPACE_QUALIFIER
DecimalFormatSymbols* formatSymbols,
char* destination, FormatSymbol symbol,
const char* defaultValue = "");
};
} // namespace Libroot
} // namespace BPrivate
#endif // _ICU_LOCALECONV_DATA_H