haiku/headers/private/libroot/locale/ICUNumericData.h
Oliver Tappe a3f665982e * reintegrated posix-locale
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 23:13:00 +00:00

44 lines
890 B
C++

/*
* Copyright 2010, Oliver Tappe, zooey@hirschkaefer.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _ICU_NUMERIC_DATA_H
#define _ICU_NUMERIC_DATA_H
#include "ICULocaleconvData.h"
#include "LocaleBackend.h"
namespace BPrivate {
class ICUNumericData : public ICULocaleconvData {
typedef ICULocaleconvData inherited;
public:
ICUNumericData(struct lconv& localeConv);
void Initialize(LocaleNumericDataBridge* dataBridge);
virtual status_t SetTo(const Locale& locale,
const char* posixLocaleName);
virtual status_t SetToPosix();
virtual const char* GetLanginfo(int index);
private:
char fDecimalPoint[skLCBufSize];
char fThousandsSep[skLCBufSize];
char fGrouping[skLCBufSize];
struct lconv& fLocaleConv;
LocaleNumericDataBridge* fDataBridge;
};
} // namespace BPrivate
#endif // _ICU_NUMERIC_DATA_H