Make UEFI boot-platform build again
[haiku.git] / headers / private / libroot / locale / ICUNumericData.h
blob3df29bb66b17aa70db3d424f775e865153aa73d5
1 /*
2 * Copyright 2010-2011, Oliver Tappe, zooey@hirschkaefer.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _ICU_NUMERIC_DATA_H
6 #define _ICU_NUMERIC_DATA_H
9 #include "ICULocaleconvData.h"
10 #include "LocaleBackend.h"
13 namespace BPrivate {
14 namespace Libroot {
17 class ICUNumericData : public ICULocaleconvData {
18 typedef ICULocaleconvData inherited;
20 public:
21 ICUNumericData(pthread_key_t tlsKey,
22 struct lconv& localeConv);
24 void Initialize(LocaleNumericDataBridge* dataBridge);
26 virtual status_t SetTo(const Locale& locale,
27 const char* posixLocaleName);
28 virtual status_t SetToPosix();
30 virtual const char* GetLanginfo(int index);
32 private:
33 char fDecimalPoint[skLCBufSize];
34 char fThousandsSep[skLCBufSize];
35 char fGrouping[skLCBufSize];
37 struct lconv& fLocaleConv;
38 LocaleNumericDataBridge* fDataBridge;
42 } // namespace Libroot
43 } // namespace BPrivate
46 #endif // _ICU_NUMERIC_DATA_H